-
hau
y does gajim add \uFE0F after every emoji?
-
jjj333_p (any pronouns)
https://downloadable.pain.agency/file_share/2N7U7KjfC-gHalj0rY_ksmB-/6d087055-de66-4c96-88fa-dcc730e1b119.png
-
jjj333_p (any pronouns)
whered the button go 🤔
-
jjj333_p (any pronouns)
it works if i click the empty space there, but theres no button displaying
-
lovetox
hau: it's called a emoji variant selector, what's the problem with it?
-
hau
lovetox, it was causing an issue with reactions for my bot, cause it wouldn't recognize the emoji as valid when the message came from gajim. ``` reaction.set_value(reaction_txt, all_chars=all_chars) File "/usr/lib/python3/dist-packages/slixmpp/plugins/xep_0444/stanza.py", line 55, in set_value raise ValueError("%s is not a valid emoji" % value) ValueError: 🍫️ is not a valid emoji ``` I fixed it now by just filtering the character out, but just wondering if there's any purpose to it since other clients don't do it.
-
lovetox
depends there are emojis where it is valid, if you use gtk3 they added the variant to all emojis which is technically not valid for all emojis
-
lovetox
but you are talking about reactions or?
-
lovetox
i thought we filtered out all variant selectors
-
lovetox
we remove all variant selectors
-
lovetox
https://dev.gajim.org/gajim/gajim/-/blob/master/gajim/common/modules/reactions.py#L176
-
lovetox
and im sure this is also in the stable release
-
lovetox
so i would doubt that you received this from a current Gajim release
-
lovetox
either way, you need to be prepared to receive them, they are only invalid for some emojis not for all, this is defined in the emoji standard
-
hau
no not from reactions, from messages (where the bot gets the emoji to send as reaction from)
-
hau
> depends there are emojis where it is valid, if you use gtk3 they added the variant to all emojis which is technically not valid for all emojis do u have any examples of emojis where it is valid? ↺
-
lovetox
but that makes not much sense, i can send in a message what i want, not just valid emojis :D
-
lovetox
https://www.unicode.org/reports/tr51/#Emoji_Variation_Selector_Notes
-
lovetox
and here examples
-
lovetox
https://www.unicode.org/reports/tr51/#Emoji_vs_Text_Display
-
hau
> but that makes not much sense, i can send in a message what i want, not just valid emojis :D well sure, and when an invalid emoji is sent it won't do anything, it's just weird that gajim sends invalid emojis when picked ↺
-
voker57
Gajim still crashes if the funny unicode string is present in, for example, MUC topic
-
lovetox
voker57: in nightly?
-
voker57
in Debian Experimental, at least
-
lovetox
No idea what version they ship
-
voker57
1.9.5+git20250208.1b5501f8-1
-
cal0pteryx
This fix is included since Jan 9th https://dev.gajim.org/gajim/gajim/-/commit/1cece0fc0ee1e5eaaa7ba936a72046d89d0967ce