From 1dc01bcffdafecb7cfcf81eb63f93d5827d6e1fd Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 3 Apr 2026 00:35:38 +0300 Subject: [PATCH] handlematrix: ignore more updates in send response --- pkg/connector/handlematrix.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/connector/handlematrix.go b/pkg/connector/handlematrix.go index 2b176a5e..521dd480 100644 --- a/pkg/connector/handlematrix.go +++ b/pkg/connector/handlematrix.go @@ -546,7 +546,8 @@ func (t *TelegramClient) HandleMatrixMessage(ctx context.Context, msg *bridgev2. Msg("Multiple messages in send response") } realSentMessage = update.Message.(*tg.Message) - case *tg.UpdateReadChannelInbox, *tg.UpdateReadHistoryInbox, *tg.UpdateReadMonoForumInbox: + case *tg.UpdateReadChannelInbox, *tg.UpdateReadHistoryInbox, *tg.UpdateReadMonoForumInbox, + *tg.UpdateReadHistoryOutbox, *tg.UpdateReadChannelOutbox: // ignore default: log.Warn().Type("update_type", update).Msg("Unexpected update type in send message response")