fix timeline
This commit is contained in:
parent
8966d81199
commit
40e2fc7526
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue