1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-26 04:28:00 +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;