patch 5c1687a16a1e49af7b5f70e9449c447bbf7c9df9
Author: E. Bosch <presidev@AT@gmail.com>
Date: Sat Oct 19 22:56:31 CEST 2024
* telegram: On emoticon->emoji conversions for reactions,
when several emoticons can be mapped to an emoji,
keep first elements that are more probable allowed for reactions
diff -rN -u old-irgramd/emoji2emoticon.py new-irgramd/emoji2emoticon.py
--- old-irgramd/emoji2emoticon.py 2024-11-22 04:55:10.062135263 +0100
+++ new-irgramd/emoji2emoticon.py 2024-11-22 04:55:10.066135257 +0100
@@ -90,7 +90,7 @@
}
emo_inv = {}
-for k in emo:
+for k in reversed(emo):
emo_inv[emo[k][1:-1]] = k
def replace_mult(line, emo):