aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/presence_manager.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2017-03-10 21:45:56 +0100
committerMarvin W <git@larma.de>2017-03-10 21:49:29 +0100
commitd8e102a160f316369c99d3dc2df7d7d54f5bc955 (patch)
treed712347416a77ebbb5f9fdbb82e542af4555f4d9 /libdino/src/service/presence_manager.vala
parent9cdc3619bd172a731333b8152ee561eed76e77f8 (diff)
downloaddino-d8e102a160f316369c99d3dc2df7d7d54f5bc955.tar.gz
dino-d8e102a160f316369c99d3dc2df7d7d54f5bc955.zip
Use typed identity in module manager
Diffstat (limited to 'libdino/src/service/presence_manager.vala')
-rw-r--r--libdino/src/service/presence_manager.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdino/src/service/presence_manager.vala b/libdino/src/service/presence_manager.vala
index b89c6570..be1e00fc 100644
--- a/libdino/src/service/presence_manager.vala
+++ b/libdino/src/service/presence_manager.vala
@@ -79,13 +79,13 @@ public class PresenceManager : StreamInteractionModule, Object {
}
private void on_account_added(Account account) {
- stream_interactor.module_manager.presence_modules[account].received_available_show.connect((stream, jid, show) =>
+ stream_interactor.module_manager.get_module(account, Presence.Module.IDENTITY).received_available_show.connect((stream, jid, show) =>
on_received_available_show(account, new Jid(jid), show)
);
- stream_interactor.module_manager.presence_modules[account].received_unavailable.connect((stream, jid) =>
+ stream_interactor.module_manager.get_module(account, Presence.Module.IDENTITY).received_unavailable.connect((stream, jid) =>
on_received_unavailable(account, new Jid(jid))
);
- stream_interactor.module_manager.presence_modules[account].received_subscription_request.connect((stream, jid) =>
+ stream_interactor.module_manager.get_module(account, Presence.Module.IDENTITY).received_subscription_request.connect((stream, jid) =>
received_subscription_request(new Jid(jid), account)
);
}