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:
parent
b7a74d5034
commit
efe52d755d
1 changed files with 29 additions and 8 deletions
|
|
@ -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,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue