From d01ae575d2a3a15619a3c66d5fabb7dd7ed0351e Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 7 Mar 2024 17:05:42 +0200 Subject: [PATCH] Fully qualify emojis instead of removing variation selector --- portal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portal.go b/portal.go index c539295..e739faf 100644 --- a/portal.go +++ b/portal.go @@ -2099,7 +2099,7 @@ func (portal *Portal) handleMatrixReaction(sender *User, evt *event.Event) error return fmt.Errorf("failed to get existing reaction from database") } - emoji := variationselector.Remove(content.RelatesTo.Key) + emoji := variationselector.FullyQualify(content.RelatesTo.Key) action := gmproto.SendReactionRequest_ADD if existingReaction != nil { action = gmproto.SendReactionRequest_SWITCH