Smack/smack-extensions/src/main/java/org/jivesoftware/smackx
Florian Schmaus 105c74b22b [muc] Call userHasLeft() *after* the leave presence was sent
Calling userHasLeft before sending the leave presence may result in
invalid state as the MUC presence lister may modify the MUCs local
state, e.g., occupantsMap, conurrently with the leave operation.

If we reset it after the leave presence was send and acknowledged,
then this can not happen as the server will not longer send any MUC
related presences to us.

Also fixes SMACK-914. In theory 52a49769f9 ("[muc] Check for
self-presence first in presence listener") alone would fix SMACK-914,
but this also fixes it indepentendly of 52a49769f9. Both commits are
sensible, so both are applied.
2021-10-11 09:09:20 +02:00
..
address [address] Fix NPE in MultipleRecipientManager 2021-06-03 19:10:07 +02:00
admin Re-work data form API 2020-05-13 20:14:41 +02:00
amp s/occured/occurred/ 2019-10-30 12:02:36 +01:00
attention Make use of XmlStringBuilder in AttentionElement 2020-01-06 18:41:30 +01:00
blocking [core] Deprecate AbstractConnectionListener 2020-05-13 22:14:43 +02:00
bob [extensions] Use StanzaView as parameter type in BoBDataExtension.from() 2021-01-25 14:29:21 +01:00
bookmarks Enable werror for javadoc and fix javadoc issues 2019-08-30 12:08:30 +02:00
bytestreams [ibb] Use UInt16 for 'seq' and fix its handling 2020-12-05 23:04:17 +01:00
caps [caps] Use the raw character data of form fields when caclulating the hash 2021-07-19 15:38:42 +02:00
chatstates Introduce XMPPConnection.add(Message|Presence)Interceptor 2019-10-25 21:41:55 +02:00
commands Do not call XmlPullParser.getName() when the event is unknown 2021-07-06 13:37:57 +02:00
delay Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
disco [disco] Add DisocverInfo.nullSafeContainsFuture(DiscoverInfo, CharSequence) 2021-09-27 13:55:52 +02:00
filetransfer [filetransfer] Pre-register 'stream-method' form field 2021-03-14 19:34:28 +01:00
formtypes [formtypes] Introduce LOOKASIDE_FIELD_REGISTRY 2021-03-14 17:58:13 +01:00
forward Make Forwarded a generic type 2020-09-23 17:48:04 +02:00
geoloc geoloc: make GeoLocation implement hashCode() and equals(Object) 2020-04-13 20:40:10 +02:00
iqlast s/occured/occurred/ 2019-10-30 12:02:36 +01:00
iqprivate s/occured/occurred/ 2019-10-30 12:02:36 +01:00
iqregister Add XMPP.(get|has)Feature(Class|QName) and deprecate (String, String) 2020-07-23 14:32:14 +02:00
iqversion Add org.jivesoftware.smack.Smack with getVersion() and ensureInitialized() 2020-11-09 08:46:57 +01:00
jingle Do not call XmlPullParser.getName() when the event is unknown 2021-07-06 13:37:57 +02:00
jiveproperties Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
last_interaction Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
mediaelement [ibb] Use UInt16 for 'seq' and fix its handling 2020-12-05 23:04:17 +01:00
message_correct Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
mood Do not call XmlPullParser.getName() when the event is unknown 2021-07-06 13:37:57 +02:00
muc [muc] Call userHasLeft() *after* the leave presence was sent 2021-10-11 09:09:20 +02:00
nick Add more QNAME fields to extension element classes 2021-04-18 17:23:34 +02:00
offline [offline] Add OfflineMessageInfo.QNAME field 2021-04-18 17:17:48 +02:00
pep [extensions] Deprecate old-style PepManager PEP listeners 2020-05-25 20:32:47 +02:00
ping Bump Error Prone version to 2.3.4 and fix new bug patterns 2020-05-24 21:10:01 +02:00
privacy [core] Deprecate AbstractConnectionListener 2020-05-13 22:14:43 +02:00
pubsub [pubsub] FormNode(Provider) should not fail if there is no DataForm 2021-08-23 17:39:59 +02:00
receipts Bump Error Prone version to 2.3.4 and fix new bug patterns 2020-05-24 21:10:01 +02:00
rsm Rename Stanza.getExtension(String, String) to getExtensionElement() 2020-04-12 12:09:04 +02:00
search Re-work data form API 2020-05-13 20:14:41 +02:00
sharedgroups Enable werror for javadoc and fix javadoc issues 2019-08-30 12:08:30 +02:00
shim Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
si Do not call XmlPullParser.getName() when the event is unknown 2021-07-06 13:37:57 +02:00
softwareinfo [softwareinfo] Separate static and non-static fields by empty line 2020-05-22 15:36:39 +02:00
time Javadoc changes for Java 11 compatibility 2019-07-19 23:05:46 +02:00
usertune [checkstyle] Tighten JavadocMethod checkstyle rule 2020-05-23 22:43:29 +02:00
vcardtemp Introduce StanzaBuilder 2019-10-25 21:41:55 +02:00
xdata [xdata] Safe the raw character data of form field values 2021-07-19 15:38:42 +02:00
xdatalayout Rework XML Element hierarchy and XmlStringBuilder 2019-09-07 18:17:08 +02:00
xdatavalidation [ibb] Use UInt16 for 'seq' and fix its handling 2020-12-05 23:04:17 +01:00
xhtmlim Do not call XmlPullParser.getName() when the event is unknown 2021-07-06 13:37:57 +02:00
package-info.java Add missing package-info descriptions. 2018-02-21 16:47:11 +01:00