aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/avatar_manager.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-03-10 23:20:36 +0100
committerfiaxh <git@mx.ax.lt>2017-03-10 23:20:36 +0100
commit95e8d126db06a183918b4db4e84013ff28f8b1f7 (patch)
tree05c0d3f6d538a95f984fb6108d7d3938d6731044 /libdino/src/service/avatar_manager.vala
parent24b55d83a1f9e21b028c8d5ac9778e75565f417d (diff)
parentd8e102a160f316369c99d3dc2df7d7d54f5bc955 (diff)
downloaddino-95e8d126db06a183918b4db4e84013ff28f8b1f7.tar.gz
dino-95e8d126db06a183918b4db4e84013ff28f8b1f7.zip
Merge branch 'master' of github.com:dino/dino
Diffstat (limited to 'libdino/src/service/avatar_manager.vala')
-rw-r--r--libdino/src/service/avatar_manager.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdino/src/service/avatar_manager.vala b/libdino/src/service/avatar_manager.vala
index de44c419..0a141449 100644
--- a/libdino/src/service/avatar_manager.vala
+++ b/libdino/src/service/avatar_manager.vala
@@ -89,10 +89,10 @@ public class AvatarManager : StreamInteractionModule, Object {
}
private void on_account_added(Account account) {
- stream_interactor.module_manager.user_avatars_modules[account].received_avatar.connect((stream, jid, id) =>
+ stream_interactor.module_manager.get_module(account, Xep.UserAvatars.Module.IDENTITY).received_avatar.connect((stream, jid, id) =>
on_user_avatar_received(account, new Jid(jid), id)
);
- stream_interactor.module_manager.vcard_modules[account].received_avatar.connect((stream, jid, id) =>
+ stream_interactor.module_manager.get_module(account, Xep.VCard.Module.IDENTITY).received_avatar.connect((stream, jid, id) =>
on_vcard_avatar_received(account, new Jid(jid), id)
);