Fully qualify emojis instead of removing variation selector
This commit is contained in:
parent
e5b70c0b18
commit
d01ae575d2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue