diff --git a/pkg/connector/handlematrix.go b/pkg/connector/handlematrix.go index bc2d50f..77c8c74 100644 --- a/pkg/connector/handlematrix.go +++ b/pkg/connector/handlematrix.go @@ -25,6 +25,8 @@ import ( "maunium.net/go/mautrix/bridgev2" "maunium.net/go/mautrix/bridgev2/database" + "go.mau.fi/util/variationselector" + "go.mau.fi/mautrix-discord/pkg/discordid" ) @@ -75,7 +77,7 @@ func (d *DiscordClient) HandleMatrixEdit(ctx context.Context, msg *bridgev2.Matr } func (d *DiscordClient) PreHandleMatrixReaction(ctx context.Context, reaction *bridgev2.MatrixReaction) (bridgev2.MatrixReactionPreResponse, error) { - key := reaction.Content.RelatesTo.Key + key := variationselector.FullyQualify(reaction.Content.RelatesTo.Key) // TODO: Handle custom emoji. return bridgev2.MatrixReactionPreResponse{