diff --git a/pkg/connector/handlematrix.go b/pkg/connector/handlematrix.go index 1a013347..8fe05fdf 100644 --- a/pkg/connector/handlematrix.go +++ b/pkg/connector/handlematrix.go @@ -769,7 +769,7 @@ func (tc *TelegramClient) PreHandleMatrixReaction(ctx context.Context, msg *brid keyNoVariation := variationselector.Remove(msg.Content.RelatesTo.Key) emojiID := ids.MakeEmojiIDFromEmoticon(msg.Content.RelatesTo.Key) - if strings.HasPrefix(msg.Content.RelatesTo.Key, "mxc://") { + if strings.Contains(msg.Content.RelatesTo.Key, "://") { if file, err := tc.main.Store.TelegramFile.GetByMXC(ctx, id.ContentURIString(msg.Content.RelatesTo.Key)); err != nil { return resp, err } else if file == nil {