Philipp Hörist pushed to branch mainwindow at gajim / gajim


Commits:
a3a810d0 by lovetox at 2021-12-01T22:54:52+01:00
Fix add_contact()

- - - - -


1 changed file:

- gajim/app_actions.py


Changes:

=====================================
gajim/app_actions.py
=====================================
@@ -34,7 +34,9 @@
 
 
 def on_add_contact_jid(_action, param):
-    jid = JID.from_string(param.get_string())
+    jid = param.get_string() or None
+    if jid is not None:
+        jid = JID.from_string(jid)
     open_window('AddContact', account=None, jid=jid)
 
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/a3a810d0751d22f48e9bb3e85adbcd8f16052d51

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/a3a810d0751d22f48e9bb3e85adbcd8f16052d51
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to