1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-06-19 18:14:52 +02: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:
Florian Schmaus 2020-04-16 21:38:55 +02:00
parent e2e228fc93
commit c519dd1213

View file

@ -236,7 +236,7 @@ public class MultiUserChat {
// Fire events according to the received presence code
checkPresenceCode(
mucUser.getStatus(),
presence.getFrom().equals(myRoomJID),
isUserStatusModification,
mucUser,
from);
} else {