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
1 changed files with 1 additions and 1 deletions

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);
}
}