mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-25 12:08: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:
commit
c081585c26
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue