Commit 92d127ae authored by Philipp Hörist's avatar Philipp Hörist

AddContact: Handle only bare JIDs

parent c4a4f60f
......@@ -45,6 +45,9 @@ def __init__(self, account=None, jid=None, user_nick=None, group=None):
self.account = account
self.adding_jid = False
if jid is not None:
jid = app.get_jid_without_resource(jid)
# fill accounts with active accounts
accounts = app.get_enabled_accounts_with_labels()
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