aboutsummaryrefslogtreecommitdiff
path: root/libdino
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-03-08 22:15:53 +0100
committerfiaxh <git@lightrise.org>2020-03-08 22:21:09 +0100
commited6eda129edd94e07f9cdf8d8446576d50460031 (patch)
tree73f2575c5423b6f6bef8e50cec4de86d0354cd82 /libdino
parentf099def5b659527475b22021f730bd085c83e60c (diff)
downloaddino-ed6eda129edd94e07f9cdf8d8446576d50460031.tar.gz
dino-ed6eda129edd94e07f9cdf8d8446576d50460031.zip
Update live whether encryption is possible in MUC (lock icon visible)
Diffstat (limited to 'libdino')
-rw-r--r--libdino/src/service/muc_manager.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdino/src/service/muc_manager.vala b/libdino/src/service/muc_manager.vala
index 39d66213..93814625 100644
--- a/libdino/src/service/muc_manager.vala
+++ b/libdino/src/service/muc_manager.vala
@@ -11,7 +11,7 @@ public class MucManager : StreamInteractionModule, Object {
public signal void left(Account account, Jid jid);
public signal void subject_set(Account account, Jid jid, string? subject);
- public signal void room_name_set(Account account, Jid jid, string? room_name);
+ public signal void room_info_updated(Account account, Jid muc_jid);
public signal void private_room_occupant_updated(Account account, Jid room, Jid occupant);
public signal void invite_received(Account account, Jid room_jid, Jid from_jid, string? password, string? reason);
public signal void bookmarks_updated(Account account, Set<Conference> conferences);
@@ -285,8 +285,8 @@ public class MucManager : StreamInteractionModule, Object {
stream_interactor.module_manager.get_module(account, Xep.Muc.Module.IDENTITY).invite_received.connect( (stream, room_jid, from_jid, password, reason) => {
invite_received(account, room_jid, from_jid, password, reason);
});
- stream_interactor.module_manager.get_module(account, Xep.Muc.Module.IDENTITY).room_name_set.connect( (stream, jid, room_name) => {
- room_name_set(account, jid, room_name);
+ stream_interactor.module_manager.get_module(account, Xep.Muc.Module.IDENTITY).room_info_updated.connect( (stream, muc_jid) => {
+ room_info_updated(account, muc_jid);
});
stream_interactor.module_manager.get_module(account, Xep.Muc.Module.IDENTITY).received_occupant_jid.connect( (stream, room, occupant) => {
if (is_private_room(account, room.bare_jid)) {