changeset 409:2e0dc5299bce

plugin XEP-0045: typo fix
author Goffi <goffi@goffi.org>
date Sat, 08 Oct 2011 20:26:36 +0200 (2011-10-08)
parents 9393ffbad6dc
children ef9a4453959b
files src/plugins/plugin_xep_0045.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0045.py	Sat Oct 08 20:05:44 2011 +0200
+++ b/src/plugins/plugin_xep_0045.py	Sat Oct 08 20:26:36 2011 +0200
@@ -199,7 +199,7 @@
     def userLeftRoom(self, room, user):
         debug (_("user %(nick)s left room (%(room_id)s)") % {'nick':user.nick, 'room_id':room.occupantJID.userhost()})
         user_data={'entity':user.entity.full() if user.entity else  '', 'affiliation':user.affiliation, 'role':user.role} 
-        self.host.bridge.roomUserLeft(room.rooJID.userhost(), user.nick, user_data, self.parent.profile)
+        self.host.bridge.roomUserLeft(room.roomJID.userhost(), user.nick, user_data, self.parent.profile)
 
     def userUpdatedStatus(self, room, user, show, status):
         print("FIXME: MUC status not managed yet")