From 6afd4791a119be48ec56983aa81cef35d1c6c3c8 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 30 Dec 2005 11:20:52 +0000 Subject: [PATCH] missing import --- src/common/contacts.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/contacts.py b/src/common/contacts.py index 0a4caec09..a62a1de14 100644 --- a/src/common/contacts.py +++ b/src/common/contacts.py @@ -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]