Posted by crsd at 2006-07-04 12:08:25
pyICQt 0.7 show default avatar, even if <disableDefaultAvatar/> is defined
in config file. following patch should correct this behaviour:
--- src/legacy/legacylist.py.orig Tue Jul 4 04:33:41 2006
+++ src/legacy/legacylist.py Tue Jul 4 04:44:28 2006
@@ -185,7 +185,7 @@
if not c:
LogEvent(INFO, self.session.jabberID, "Update
setting default avatar for %s" %(contact))
c =
self.session.contactList.createContact(icq2jid(contact), "both")
- if not config.disableAvatars:
+ if not config.disableAvatars and not
config.disableDefaultAvatar:
if contact[0].isdigit():
c.updateAvatar(glue.defaultICQAvatar,
push=False)
else:
Owner: ---