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

AddContact: Handle only bare JIDs

parent c4a4f60f
Pipeline #4234 passed with stages
in 2 minutes and 40 seconds
......@@ -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
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