plugin XEP-0045: added room statuses to metadata:

room statuses are now sent with other metadata on bridge signals, and saved in Room
instance. They give useful data on the room, for instance they can be used to know if a
full jid is used in this room.
This commit is contained in:
Goffi 2019-12-30 20:44:02 +01:00
commit efe52d755d

View file

@ -859,7 +859,8 @@ class QuickApp(object):
self.callListeners("presence", entity, show, priority, statuses, profile=profile)
def mucRoomJoinedHandler(self, room_jid_s, occupants, user_nick, subject, profile):
def mucRoomJoinedHandler(
self, room_jid_s, occupants, user_nick, subject, statuses, profile):
"""Called when a MUC room is joined"""
log.debug(
"Room [{room_jid}] joined by {profile}, users presents:{users}".format(
@ -875,6 +876,7 @@ class QuickApp(object):
nick=user_nick,
occupants=occupants,
subject=subject,
statuses=statuses,
profile=profile,
)