fix indentation typo
This commit is contained in:
parent
05a86e8357
commit
1de511c0fd
|
@ -225,7 +225,7 @@ def get_server_from_jid(jid):
|
||||||
def get_resource_from_jid(jid):
|
def get_resource_from_jid(jid):
|
||||||
tokens = jid.split('/', 1)
|
tokens = jid.split('/', 1)
|
||||||
if len(tokens) > 1:
|
if len(tokens) > 1:
|
||||||
return tokens[1]
|
return tokens[1]
|
||||||
|
|
||||||
def get_name_and_server_from_jid(jid):
|
def get_name_and_server_from_jid(jid):
|
||||||
name = get_nick_from_jid(jid)
|
name = get_nick_from_jid(jid)
|
||||||
|
|
Loading…
Reference in New Issue