From 233516ca4df4070aeeb50a0c612f805842940f40 Mon Sep 17 00:00:00 2001 From: Adam Van Ymeren Date: Fri, 12 Sep 2025 09:17:17 -0700 Subject: [PATCH] media: Don't error on MessageMediaPaidMedia, just bridge unsupported notice --- pkg/connector/tomatrix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/connector/tomatrix.go b/pkg/connector/tomatrix.go index 7ea4a3ac..adf013b5 100644 --- a/pkg/connector/tomatrix.go +++ b/pkg/connector/tomatrix.go @@ -105,7 +105,7 @@ func (c *TelegramClient) mediaToMatrix(ctx context.Context, portal *bridgev2.Por return convertDice(media), nil, nil, nil case tg.MessageMediaGameTypeID: return convertGame(media), nil, nil, nil - case tg.MessageMediaStoryTypeID, tg.MessageMediaInvoiceTypeID, tg.MessageMediaGiveawayTypeID, tg.MessageMediaGiveawayResultsTypeID: + case tg.MessageMediaStoryTypeID, tg.MessageMediaInvoiceTypeID, tg.MessageMediaGiveawayTypeID, tg.MessageMediaGiveawayResultsTypeID, tg.MessageMediaPaidMediaTypeID: // TODO: support these properly return &bridgev2.ConvertedMessagePart{ Type: event.EventMessage,