aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/roster_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/roster_manager.vala
parent9cdc3619bd172a731333b8152ee561eed76e77f8 (diff)
downloaddino-d8e102a160f316369c99d3dc2df7d7d54f5bc955.tar.gz
dino-d8e102a160f316369c99d3dc2df7d7d54f5bc955.zip
Use typed identity in module manager
Diffstat (limited to 'libdino/src/service/roster_manager.vala')
-rw-r--r--libdino/src/service/roster_manager.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdino/src/service/roster_manager.vala b/libdino/src/service/roster_manager.vala
index 106405e2..6f6f402a 100644
--- a/libdino/src/service/roster_manager.vala
+++ b/libdino/src/service/roster_manager.vala
@@ -58,13 +58,13 @@ namespace Dino {
}
private void on_account_added(Account account) {
- stream_interactor.module_manager.roster_modules[account].received_roster.connect( (stream, roster) => {
+ stream_interactor.module_manager.get_module(account, Roster.Module.IDENTITY).received_roster.connect( (stream, roster) => {
on_roster_received(account, roster);
});
- stream_interactor.module_manager.roster_modules[account].item_removed.connect( (stream, roster_item) => {
+ stream_interactor.module_manager.get_module(account, Roster.Module.IDENTITY).item_removed.connect( (stream, roster_item) => {
removed_roster_item(account, new Jid(roster_item.jid), roster_item);
});
- stream_interactor.module_manager.roster_modules[account].item_updated.connect( (stream, roster_item) => {
+ stream_interactor.module_manager.get_module(account, Roster.Module.IDENTITY).item_updated.connect( (stream, roster_item) => {
on_roster_item_updated(account, roster_item);
});
}