reactions: support Matrix -> TG
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
@@ -39,3 +39,8 @@ func ConvertKnownEmojis(emojiIDs []int64) (result map[networkid.EmojiID]string,
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func GetEmojiDocumentID(emoji string) (int64, bool) {
|
||||
id, ok := unicodemojiPack[emoji]
|
||||
return id, ok
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user