aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-11-14 16:19:10 +0100
committerfiaxh <git@lightrise.org>2019-11-17 17:53:27 +0100
commita2f63a7789aca9e05e5dfd1a9c2838e31aefe60d (patch)
tree19404ae5541795317117813306ee321793087139 /main/src/ui
parentc6bdb1a4bc109256b2a109940c640a8b2ad8f57f (diff)
downloaddino-a2f63a7789aca9e05e5dfd1a9c2838e31aefe60d.tar.gz
dino-a2f63a7789aca9e05e5dfd1a9c2838e31aefe60d.zip
Parse offline member info from MUC presence
Fixes OMEMO only encrypting to new member after restart and private MUC name only updating after restart
Diffstat (limited to 'main/src/ui')
-rw-r--r--main/src/ui/occupant_menu/list.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/occupant_menu/list.vala b/main/src/ui/occupant_menu/list.vala
index 4abc3636..c422a899 100644
--- a/main/src/ui/occupant_menu/list.vala
+++ b/main/src/ui/occupant_menu/list.vala
@@ -71,7 +71,7 @@ public class List : Box {
}
private void on_show_received(Show show, Jid jid, Account account) {
- if (conversation != null && conversation.counterpart.equals_bare(jid)) {
+ if (conversation != null && conversation.counterpart.equals_bare(jid) && jid.is_full()) {
if (show.as == Show.OFFLINE && rows.has_key(jid)) {
remove_occupant(jid);
} else if (show.as != Show.OFFLINE && !rows.has_key(jid)) {