plugin XEP-0045: added a warning if a message is discarded because the room has not been found

This commit is contained in:
Goffi 2019-07-02 19:36:27 +02:00
commit b8a858d639

View file

@ -1221,6 +1221,8 @@ class SatMUCClient(muc.MUCClient):
room, user = self._getRoomUser(message)
if room is None:
log.warning(u"No room found for message: {message}"
.format(message=message.toElement().toXml()))
return
if message.subject is not None: