work with xmpp: too
This commit is contained in:
parent
5c0797ae71
commit
7e808fbb56
|
@ -198,6 +198,8 @@ class SignalObject(DbusPrototype):
|
||||||
return None
|
return None
|
||||||
if jid.startswith('xmpp://'):
|
if jid.startswith('xmpp://'):
|
||||||
jid = jid[7:] # len('xmpp://') = 7
|
jid = jid[7:] # len('xmpp://') = 7
|
||||||
|
elif jid.startswith('xmpp:'):
|
||||||
|
jid = jid[5:] # len('xmpp:') = 5
|
||||||
|
|
||||||
if account:
|
if account:
|
||||||
accounts = [account]
|
accounts = [account]
|
||||||
|
|
Loading…
Reference in New Issue