aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/muc_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/muc_manager.vala
parent9cdc3619bd172a731333b8152ee561eed76e77f8 (diff)
downloaddino-d8e102a160f316369c99d3dc2df7d7d54f5bc955.tar.gz
dino-d8e102a160f316369c99d3dc2df7d7d54f5bc955.zip
Use typed identity in module manager
Diffstat (limited to 'libdino/src/service/muc_manager.vala')
-rw-r--r--libdino/src/service/muc_manager.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdino/src/service/muc_manager.vala b/libdino/src/service/muc_manager.vala
index be23d391..74467077 100644
--- a/libdino/src/service/muc_manager.vala
+++ b/libdino/src/service/muc_manager.vala
@@ -144,10 +144,10 @@ public class MucManager : StreamInteractionModule, Object {
}
private void on_account_added(Account account) {
- stream_interactor.module_manager.muc_modules[account].subject_set.connect( (stream, subject, jid) => {
+ stream_interactor.module_manager.get_module(account, Xep.Muc.Module.IDENTITY).subject_set.connect( (stream, subject, jid) => {
on_subject_set(account, new Jid(jid), subject);
});
- stream_interactor.module_manager.bookmarks_module[account].conferences_updated.connect( (stream, conferences) => {
+ stream_interactor.module_manager.get_module(account, Xep.Bookmarks.Module.IDENTITY).conferences_updated.connect( (stream, conferences) => {
bookmarks_updated(account, conferences);
});
}