diff options
author | Marvin W <git@larma.de> | 2023-01-31 14:43:17 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2023-01-31 15:14:55 +0100 |
commit | 921f28c84bbda56ec93df7dcde7c828eaabb0b58 (patch) | |
tree | 78c9276d47d6d939e242e072032b9196b5a8c6c6 /libdino/src/service/muc_manager.vala | |
parent | 9e11bef219880b5bdc5d299c31ec6249596a86ba (diff) | |
download | dino-921f28c84bbda56ec93df7dcde7c828eaabb0b58.tar.gz dino-921f28c84bbda56ec93df7dcde7c828eaabb0b58.zip |
Fix reaction display in private MUCs
Diffstat (limited to 'libdino/src/service/muc_manager.vala')
-rw-r--r-- | libdino/src/service/muc_manager.vala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libdino/src/service/muc_manager.vala b/libdino/src/service/muc_manager.vala index 36a5599f..ff6ac941 100644 --- a/libdino/src/service/muc_manager.vala +++ b/libdino/src/service/muc_manager.vala @@ -323,6 +323,14 @@ public class MucManager : StreamInteractionModule, Object { return null; } + public Jid? get_occupant_jid(Account account, Jid room, Jid occupant_real_jid) { + Xep.Muc.Flag? flag = get_muc_flag(account); + if (flag != null) { + return flag.get_occupant_jid(occupant_real_jid, room); + } + return null; + } + public Xep.Muc.Role? get_role(Jid jid, Account account) { Xep.Muc.Flag? flag = get_muc_flag(account); if (flag != null) { |