fix timeline

This commit is contained in:
andrey 2020-11-06 11:57:05 +01:00 committed by flexsurfer
parent 8966d81199
commit 40e2fc7526
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
0.63.4 0.63.5

View File

@ -498,9 +498,10 @@ func (m *Messenger) Init() error {
} }
m.allChats[chat.ID] = chat m.allChats[chat.ID] = chat
if !chat.Active { if !chat.Active || chat.Timeline() {
continue continue
} }
switch chat.ChatType { switch chat.ChatType {
case ChatTypePublic, ChatTypeProfile: case ChatTypePublic, ChatTypeProfile:
publicChatIDs = append(publicChatIDs, chat.ID) publicChatIDs = append(publicChatIDs, chat.ID)