1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00

Do not warn on presence from bare MUC JID in MultiUserChat

as such presence messages became a thing in XMPP (e.g. for XEP-0153
avatars for MUC).
This commit is contained in:
Florian Schmaus 2018-09-10 21:00:49 +02:00
parent 158103c918
commit 77baaa99bc

View file

@ -205,7 +205,6 @@ public class MultiUserChat {
final Presence presence = (Presence) packet;
final EntityFullJid from = presence.getFrom().asEntityFullJidIfPossible();
if (from == null) {
LOGGER.warning("Presence not from a full JID: " + presence.getFrom());
return;
}
final EntityFullJid myRoomJID = myRoomJid;