diff 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
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")