fix call to correct function when inviting to room in roster
This commit is contained in:
parent
1008d162f4
commit
5b55264c92
|
@ -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_,
|
||||||
|
|
Loading…
Reference in New Issue