return muted chats in ChatsPreview call (#2617)
This commit is contained in:
parent
16311512cb
commit
724689086c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue