Compare commits

..

No commits in common. "master" and "0.0.1" have entirely different histories.

2 changed files with 4 additions and 3 deletions

View file

@ -13,8 +13,8 @@
"win32" "win32"
], ],
"requirements": [ "requirements": [
"gajim>=1.8,<1.10" "gajim>=1.8,<1.9"
], ],
"short_name": "avatarshapeplugin", "short_name": "avatarshapeplugin",
"version": "0.0.2" "version": "0.0.1"
} }

View file

@ -187,7 +187,8 @@ class AvatarShapePlugin(GajimPlugin):
avatar.generate_default_avatar.cache_clear() avatar.generate_default_avatar.cache_clear()
avatar.make_workspace_avatar.cache_clear() avatar.make_workspace_avatar.cache_clear()
for client in app.get_clients(): for account in app.settings.get_accounts():
client = app.get_client(account)
for contact in client.get_module('Contacts')._contacts.values(): for contact in client.get_module('Contacts')._contacts.values():
contact.notify('avatar-update') contact.notify('avatar-update')
if contact.is_groupchat: if contact.is_groupchat: