Gajim - 2025-02-23


  1. hau

    y does gajim add \uFE0F after every emoji?

  2. jjj333_p (any pronouns)

    https://downloadable.pain.agency/file_share/2N7U7KjfC-gHalj0rY_ksmB-/6d087055-de66-4c96-88fa-dcc730e1b119.png

  3. jjj333_p (any pronouns)

    whered the button go 🤔

  4. jjj333_p (any pronouns)

    it works if i click the empty space there, but theres no button displaying

  5. lovetox

    hau: it's called a emoji variant selector, what's the problem with it?

  6. 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.

  7. 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

  8. lovetox

    but you are talking about reactions or?

  9. lovetox

    i thought we filtered out all variant selectors

  10. lovetox

    we remove all variant selectors

  11. lovetox

    https://dev.gajim.org/gajim/gajim/-/blob/master/gajim/common/modules/reactions.py#L176

  12. lovetox

    and im sure this is also in the stable release

  13. lovetox

    so i would doubt that you received this from a current Gajim release

  14. 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

  15. hau

    no not from reactions, from messages (where the bot gets the emoji to send as reaction from)

  16. 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?

  17. lovetox

    but that makes not much sense, i can send in a message what i want, not just valid emojis :D

  18. lovetox

    https://www.unicode.org/reports/tr51/#Emoji_Variation_Selector_Notes

  19. lovetox

    and here examples

  20. lovetox

    https://www.unicode.org/reports/tr51/#Emoji_vs_Text_Display

  21. 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

  22. voker57

    Gajim still crashes if the funny unicode string is present in, for example, MUC topic

  23. lovetox

    voker57: in nightly?

  24. voker57

    in Debian Experimental, at least

  25. lovetox

    No idea what version they ship

  26. voker57

    1.9.5+git20250208.1b5501f8-1

  27. cal0pteryx

    This fix is included since Jan 9th https://dev.gajim.org/gajim/gajim/-/commit/1cece0fc0ee1e5eaaa7ba936a72046d89d0967ce