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

missing import

parent 5c5594bb
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,8 @@
## GNU General Public License for more details.
##
import common.gajim
class Contact:
'''Information concerning each contact'''
def __init__(self, jid='', name='', groups=[], show='', status='', sub='',
......@@ -183,7 +185,7 @@ class Contacts:
if jid in self._contacts[account]:
return self._contacts[account][jid][0]
else: # it's fake jid
room, nick = gajim.get_room_and_nick_from_fjid(jid)
room, nick = common.gajim.get_room_and_nick_from_fjid(jid)
if self._gc_contacts[account].has_key(room) and \
nick in self._gc_contacts[account][room]:
return self._gc_contacts[account][room][nick]
......
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