mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 11:42:15 -05:00
don't offer initiator his own candidates
This commit is contained in:
parent
34545aa96f
commit
fbc43a8d38
@ -399,8 +399,10 @@ public class JingleConnection implements Downloadable {
|
||||
private List<Element> getCandidatesAsElements() {
|
||||
List<Element> elements = new ArrayList<>();
|
||||
for (JingleCandidate c : this.candidates) {
|
||||
if (c.isOurs()) {
|
||||
elements.add(c.toElement());
|
||||
}
|
||||
}
|
||||
return elements;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user