Philipp Hörist pushed to branch master at gajim / gajim
Commits:
f6ce10eb by Philipp Hörist at 2019-07-20T21:58:17Z
AdHoc: Prevent request with invalid JID
resource can also be an empty string
- - - - -
1 changed file:
- gajim/roster_window.py
Changes:
=====================================
gajim/roster_window.py
=====================================
@@ -3537,7 +3537,7 @@ class RosterWindow:
callback
"""
jid = contact.jid
- if resource is not None:
+ if resource:
jid = jid + '/' + resource
AdHocCommand(account, jid)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/f6ce10eb4d0c0c69ffa18258d1fe9ad07303f78f
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/f6ce10eb4d0c0c69ffa18258d1fe9ad07303f78f
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