mirror of
https://github.com/status-im/status-go.git
synced 2025-02-01 17:38:36 +00:00
Fix timeline/profile updates messages
This commit is contained in:
parent
049afe5765
commit
bd314b8adc
@ -1072,7 +1072,7 @@ func (m *Messenger) matchChatEntity(chatEntity common.ChatEntity) (*Chat, error)
|
||||
if !ok {
|
||||
return nil, errors.New("received a public chatEntity from non-existing chat")
|
||||
}
|
||||
if !chat.Public() {
|
||||
if !chat.Public() && !chat.ProfileUpdates() && !chat.Timeline() {
|
||||
return nil, ErrMessageForWrongChatType
|
||||
}
|
||||
return chat, nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user