Commit a59679f5 authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist
Browse files

Roster build_invite_submenu: Enable MUC invite menu for offline contacts

parent d0029580
......@@ -97,7 +97,7 @@ def build_invite_submenu(invite_menuitem, list_, ignore_rooms=None,
if len(contact_list) > 1: # several resources
contact_list, account, roster.on_invite_to_new_room, cap=NS_MUC))
elif len(list_) == 1 and contact.supports(NS_MUC):
elif len(list_) == 1:
# use resource if it's self contact
if contact.jid == app.get_jid_from_account(account) or force_resource:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment