comparison src/plugins/plugin_xep_0045.py @ 409:2e0dc5299bce

plugin XEP-0045: typo fix
author Goffi <goffi@goffi.org>
date Sat, 08 Oct 2011 20:26:36 +0200
parents b4edea06ae12
children afe9cfd2ddbb
comparison
equal deleted inserted replaced
408:9393ffbad6dc 409:2e0dc5299bce
197 self.host.bridge.roomUserJoined(room.roomJID.userhost(), user.nick, user_data, self.parent.profile) 197 self.host.bridge.roomUserJoined(room.roomJID.userhost(), user.nick, user_data, self.parent.profile)
198 198
199 def userLeftRoom(self, room, user): 199 def userLeftRoom(self, room, user):
200 debug (_("user %(nick)s left room (%(room_id)s)") % {'nick':user.nick, 'room_id':room.occupantJID.userhost()}) 200 debug (_("user %(nick)s left room (%(room_id)s)") % {'nick':user.nick, 'room_id':room.occupantJID.userhost()})
201 user_data={'entity':user.entity.full() if user.entity else '', 'affiliation':user.affiliation, 'role':user.role} 201 user_data={'entity':user.entity.full() if user.entity else '', 'affiliation':user.affiliation, 'role':user.role}
202 self.host.bridge.roomUserLeft(room.rooJID.userhost(), user.nick, user_data, self.parent.profile) 202 self.host.bridge.roomUserLeft(room.roomJID.userhost(), user.nick, user_data, self.parent.profile)
203 203
204 def userUpdatedStatus(self, room, user, show, status): 204 def userUpdatedStatus(self, room, user, show, status):
205 print("FIXME: MUC status not managed yet") 205 print("FIXME: MUC status not managed yet")
206 #FIXME: gof 206 #FIXME: gof
207 207