wix: MUC groupchat management + short nick shown in chat window instead of full jid when possible

This commit is contained in:
Goffi 2010-03-30 16:08:44 +11:00
commit ff49d87520

View file

@ -139,6 +139,10 @@ class SatMUCClient (muc.MUCClient):
user_data={'entity':user.entity or '', 'affiliation':user.affiliation, 'role':user.role}
self.host.bridge.roomUserLeft(room.roomIdentifier, room.service, user.nick, user_data, self.parent.profile)
def userUpdatedStatus(self, room, user, show, status):
print("FIXME: MUC status not managed yet")
#FIXME: gof
def receivedSubject(self, room, subject):
debug (_("New subject for room (%(room_id)s): %(subject)s") % {'room_id':room.occupantJID.userhost(),'subject':subject})
self.host.bridge.roomNewSubject(room.roomIdentifier, room.service, subject, self.parent.profile)