comment in code is better than comment in commit that we forget after a month :)

This commit is contained in:
Nikos Kouremenos 2005-07-20 13:33:12 +00:00
parent 287b6a88d6
commit 409f3021b9
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ class TabbedChatWindow(chat.Chat):
x = None
if self.xmls.has_key(vcard['jid']):
x = self.xmls[vcard['jid']]
# it can be xmls[jid/resource] if it's a vcard from pm
elif self.xmls.has_key(vcard['jid'] + '/' + vcard['resource']):
x = self.xmls[vcard['jid'] + '/' + vcard['resource']]
image = x.get_widget('avatar_image')