From a2f63a7789aca9e05e5dfd1a9c2838e31aefe60d Mon Sep 17 00:00:00 2001 From: fiaxh Date: Thu, 14 Nov 2019 16:19:10 +0100 Subject: Parse offline member info from MUC presence Fixes OMEMO only encrypting to new member after restart and private MUC name only updating after restart --- main/src/ui/occupant_menu/list.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/src/ui') 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)) { -- cgit v1.2.3-70-g09d2