1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-25 03:57:58 +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;
int currentCount = presenceInterceptorCount.decrementAndGet();
if (currentCount == 0) {
connection.removePresenceInterceptor(presenceInterceptor);
connection.removePresenceInterceptor(this.presenceInterceptor);
}
}