plugin XEP-0045: fixed receivedSubject
This commit is contained in:
parent
9097c58498
commit
ff634dad64
1 changed files with 2 additions and 1 deletions
|
|
@ -174,7 +174,8 @@ class SatMUCClient (muc.MUCClient):
|
|||
print("FIXME: MUC status not managed yet")
|
||||
#FIXME: gof
|
||||
|
||||
def receivedSubject(self, room, subject):
|
||||
def receivedSubject(self, occupantJID, subject):
|
||||
room = self._getRoom(occupantJID)
|
||||
debug (_("New subject for room (%(room_id)s): %(subject)s") % {'room_id':room.occupantJID.userhost(),'subject':subject})
|
||||
room_jid = room.roomIdentifier+'@'+room.service
|
||||
self.rec_subjects[room_jid] = (room.roomIdentifier, room.service, subject)
|
||||
|
|
|
|||
Loading…
Reference in a new issue