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

AddContact: Handle only bare JIDs

parent c4a4f60f
......@@ -45,6 +45,9 @@ class AddNewContactWindow(Gtk.ApplicationWindow):
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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment