Smack/smack-extensions/src/main/java/org/jivesoftware/smackx/muc
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
..
bookmarkautojoin [core] Deprecate AbstractConnectionListener 2020-05-13 22:14:43 +02:00
filter Add CustomImportOrder checkstyle rule 2017-06-14 17:12:43 +02:00
packet Add more QNAME fields to extension element classes 2021-04-18 17:23:34 +02:00
provider s/occured/occurred/ 2019-10-30 12:02:36 +01:00
Affiliate.java Add CustomImportOrder checkstyle rule 2017-06-14 17:12:43 +02:00
AutoJoinFailedCallback.java Option to automatically rejoin MUC rooms after reconnection 2016-11-06 11:14:19 +01:00
AutoJoinSuccessCallback.java Add a success callback for auto-join on reconnect. 2019-04-09 14:21:11 -07:00
DefaultParticipantStatusListener.java [muc] Deprecate DefaultParticipantStatusListener 2020-05-13 22:00:42 +02:00
DefaultUserStatusListener.java [muc] Deprecate DefaultUserStatusListener 2020-05-13 22:01:17 +02:00
DiscussionHistory.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
HostedRoom.java Add CustomImportOrder checkstyle rule 2017-06-14 17:12:43 +02:00
InvitationListener.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
InvitationRejectionListener.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
MUCAffiliation.java Enable javadoc checkstyle 2015-03-29 12:29:32 +02:00
MUCRole.java Enable javadoc checkstyle 2015-03-29 12:29:32 +02:00
MucConfigFormManager.java Re-work data form API 2020-05-13 20:14:41 +02:00
MucEnterConfiguration.java Delete TypedCloneable 2020-06-14 17:38:51 +02:00
MucMessageInterceptor.java [muc] Introduce MucMessageInterceptor 2021-03-23 21:27:10 +01:00
MultiUserChat.java [muc] Call userHasLeft() *after* the leave presence was sent 2021-10-11 09:09:20 +02:00
MultiUserChatConstants.java [muc] Do not filter for presence ID if #stable_id is not announced 2021-03-14 12:48:01 +01:00
MultiUserChatException.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
MultiUserChatManager.java [muc] Introduce MucMessageInterceptor 2021-03-23 21:27:10 +01:00
Occupant.java Rename Stanza.getExtension(String, String) to getExtensionElement() 2020-04-12 12:09:04 +02:00
ParticipantStatusListener.java [muc] Add generic callback invoked if a participant is removed 2020-05-13 22:14:43 +02:00
RoomInfo.java Re-work data form API 2020-05-13 20:14:41 +02:00
SubjectUpdatedListener.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
UserStatusListener.java [muc] Deprecate DefaultUserStatusListener 2020-05-13 22:01:17 +02:00
package-info.java Add missing package-info descriptions. 2018-02-21 16:47:11 +01:00