1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-26 04:28:00 +01:00

Merge pull request #539 from tharkum/4.4

[muc] Fix removal of the MUC's main presence interceptor
This commit is contained in:
Florian Schmaus 2022-08-30 22:53:36 +03:00 committed by GitHub
commit c081585c26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1133,7 +1133,7 @@ public class MultiUserChat {
if (!removed) return; if (!removed) return;
int currentCount = presenceInterceptorCount.decrementAndGet(); int currentCount = presenceInterceptorCount.decrementAndGet();
if (currentCount == 0) { if (currentCount == 0) {
connection.removePresenceInterceptor(presenceInterceptor); connection.removePresenceInterceptor(this.presenceInterceptor);
} }
} }