From 724689086cdd3edef71a31c17e8888b1933c9ea5 Mon Sep 17 00:00:00 2001 From: Parvesh Monu Date: Fri, 1 Apr 2022 14:20:38 +0530 Subject: [PATCH] return muted chats in ChatsPreview call (#2617) --- VERSION | 2 +- protocol/messenger_chats.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index ac37076b3..7245ec2e2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.97.3 +0.97.4 diff --git a/protocol/messenger_chats.go b/protocol/messenger_chats.go index 28fe205eb..6e592e225 100644 --- a/protocol/messenger_chats.go +++ b/protocol/messenger_chats.go @@ -27,7 +27,7 @@ func (m *Messenger) ChatsPreview() []*ChatPreview { var chats []*ChatPreview m.allChats.Range(func(chatID string, chat *Chat) (shouldContinue bool) { - if chat.Active { + if chat.Active || chat.Muted { chatPreview := &ChatPreview{ ID: chat.ID, Name: chat.Name,