Skip to content
Snippets Groups Projects
Commit 7e808fbb authored by nkour's avatar nkour
Browse files

work with xmpp: too

parent 5c0797ae
No related branches found
No related tags found
No related merge requests found
......@@ -198,6 +198,8 @@ class SignalObject(DbusPrototype):
return None
if jid.startswith('xmpp://'):
jid = jid[7:] # len('xmpp://') = 7
elif jid.startswith('xmpp:'):
jid = jid[5:] # len('xmpp:') = 5
if account:
accounts = [account]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment