Skip to content

Commit 5382160

Browse files
committed
fix(ChatRoomImpl): clear id before sending presence
1 parent 3445706 commit 5382160

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/org/jitsi/impl/protocol/xmpp/ChatRoomImpl.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,9 @@ public void setPresenceExtension(ExtensionElement extension,
10051005
return;
10061006
}
10071007

1008+
// Reset the stanza ID before sending
1009+
lastPresenceSent.setStanzaId(null);
1010+
10081011
connection.sendStanza(lastPresenceSent);
10091012
}
10101013

@@ -1052,6 +1055,9 @@ public void modifyPresence(Collection<ExtensionElement> toRemove,
10521055
return;
10531056
}
10541057

1058+
// Reset the stanza ID before sending
1059+
lastPresenceSent.setStanzaId(null);
1060+
10551061
connection.sendStanza(lastPresenceSent);
10561062
}
10571063

0 commit comments

Comments
 (0)