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:
parent
158103c918
commit
77baaa99bc
|
@ -205,7 +205,6 @@ public class MultiUserChat {
|
||||||
final Presence presence = (Presence) packet;
|
final Presence presence = (Presence) packet;
|
||||||
final EntityFullJid from = presence.getFrom().asEntityFullJidIfPossible();
|
final EntityFullJid from = presence.getFrom().asEntityFullJidIfPossible();
|
||||||
if (from == null) {
|
if (from == null) {
|
||||||
LOGGER.warning("Presence not from a full JID: " + presence.getFrom());
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
final EntityFullJid myRoomJID = myRoomJid;
|
final EntityFullJid myRoomJID = myRoomJid;
|
||||||
|
|
Loading…
Reference in New Issue