mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-29 09:42:06 +01:00
muc: do check for equality twice
We already performed the presence.getFrom().equals(myRoomJID) check and saved its result. No need to do it again.
This commit is contained in:
parent
e2e228fc93
commit
c519dd1213
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ public class MultiUserChat {
|
||||||
// Fire events according to the received presence code
|
// Fire events according to the received presence code
|
||||||
checkPresenceCode(
|
checkPresenceCode(
|
||||||
mucUser.getStatus(),
|
mucUser.getStatus(),
|
||||||
presence.getFrom().equals(myRoomJID),
|
isUserStatusModification,
|
||||||
mucUser,
|
mucUser,
|
||||||
from);
|
from);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue