Skip to content
Snippets Groups Projects
Commit 13b6d755 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

get gajim module where it is. fixes #3661

parent 2aef21f0
No related branches found
No related tags found
No related merge requests found
......@@ -475,10 +475,10 @@ class Contacts:
return 1
if show2 > show1:
return -1
server1 = gajim.get_server_from_jid(jid1)
server2 = gajim.get_server_from_jid(jid2)
myserver1 = gajim.config.get_per('accounts', account1, 'hostname')
myserver2 = gajim.config.get_per('accounts', account2, 'hostname')
server1 = common.gajim.get_server_from_jid(jid1)
server2 = common.gajim.get_server_from_jid(jid2)
myserver1 = common.gajim.config.get_per('accounts', account1, 'hostname')
myserver2 = common.gajim.config.get_per('accounts', account2, 'hostname')
if server1 == myserver1:
if server2 != myserver2:
return 1
......
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