not-nullptr / Aerochat

Native rewrite of Aerochat, a WLM 09 themed Discord client
Mozilla Public License 2.0
148 stars 8 forks source link

Aerochat sends wrong emoji representation for standard Unicode emojis, and does not handle all valid emoji representations #28

Open kawapure opened 2 months ago

kawapure commented 2 months ago

In the official Discord client, if you were to type something like :sob:, it would be converted to Discord's custom emoji and sent as the corresponding Unicode emoji as the text content of the message in the API. Discord's client can represent standard Unicode emojis in two ways: via the Unicode character for the emoji, or via a standard emoji link (i.e. :sob:).

Aerochat handles decoding Unicode emojis to its custom emoji images already, but it does not support decoding Discord's emoji links (i.e. :sob:), so if you were to try to send a :sob: emoji from Aerochat, it would render in the Aerochat client as :sob: at all times, whereas you can send and receive the proper emoji representation from the official client.

not-nullptr commented 2 months ago

god fucking damnit