logic fix
This commit is contained in:
parent
43aef76dd9
commit
f8c317262b
|
@ -78,7 +78,7 @@ def get_nick_from_jid(jid):
|
|||
return jid[:pos]
|
||||
|
||||
def get_server_from_jid(jid):
|
||||
pos = jid.find('@')
|
||||
pos = jid.find('@') + 1 # after @
|
||||
return jid[pos:]
|
||||
|
||||
def get_nick_from_fjid(jid):
|
||||
|
|
Loading…
Reference in New Issue