From dd58e8d1e72e45075f576cbe7671e96d2c0e5686 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 10 Feb 2022 19:46:46 +0200 Subject: [PATCH] =?UTF-8?q?Add=20'=E2=99=BB=EF=B8=8F'=20as=20an=20alternat?= =?UTF-8?q?ive=20reaction=20for=20retrying=20media?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- matrix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix.go b/matrix.go index e487706..2c9fdec 100644 --- a/matrix.go +++ b/matrix.go @@ -480,7 +480,7 @@ func (mx *MatrixHandler) HandleReaction(evt *event.Event) { return } content := evt.Content.AsReaction() - if content.RelatesTo.Key == "click to retry" { + if content.RelatesTo.Key == "click to retry" || strings.HasPrefix(content.RelatesTo.Key, "\u267b") { // ♻️ portal.requestMediaRetry(user, content.RelatesTo.EventID) } else if mx.bridge.Config.Bridge.ReactionNotices { _, _ = portal.sendMainIntentMessage(&event.MessageEventContent{