From bd314b8adcd3d0fe011567614d3ac8ad6e40083e Mon Sep 17 00:00:00 2001 From: Andrea Maria Piana Date: Tue, 21 Sep 2021 11:14:54 +0100 Subject: [PATCH] Fix timeline/profile updates messages --- VERSION | 2 +- protocol/messenger_handler.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index fe6d01c1a..2a265534e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.88.0 +0.88.1 diff --git a/protocol/messenger_handler.go b/protocol/messenger_handler.go index 0b8277cf5..85f77b19b 100644 --- a/protocol/messenger_handler.go +++ b/protocol/messenger_handler.go @@ -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