fix call to correct function when inviting to room in roster

This commit is contained in:
Yann Leboulanger 2008-03-21 12:46:54 +00:00
parent 1008d162f4
commit 5b55264c92
1 changed files with 1 additions and 1 deletions

View File

@ -2103,7 +2103,7 @@ class RosterWindow:
menuitem = gtk.MenuItem(room_jid.split('@')[0]) menuitem = gtk.MenuItem(room_jid.split('@')[0])
if len(contact_list) > 1: # several resources if len(contact_list) > 1: # several resources
menuitem.set_submenu(self.build_resources_submenu( menuitem.set_submenu(self.build_resources_submenu(
contact_list, account, self.on_invite_to_new_room, room_jid, contact_list, account, self.on_invite_to_room, room_jid,
account)) account))
else: else:
menuitem.connect('activate', self.on_invite_to_room, list_, menuitem.connect('activate', self.on_invite_to_room, list_,