m2d emoji roundtripping #110

Open
mschae wants to merge 3 commits from mschae/out-of-your-element:m2d-emote-roundtrip into main
First-time contributor

so that if someone on discord forwards your matrix message with custom emotes, the emojis get converted back to proper matrix emojis during d->m

> so that if someone on discord forwards your matrix message with custom emotes, the emojis get converted back to proper matrix emojis during d->m
also fix the bug where using the same emote in the middle and the end of
the message causes the one in the middle to get bridged as `<::>`
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u m2d-emote-roundtrip:mschae-m2d-emote-roundtrip
git switch mschae-m2d-emote-roundtrip

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff mschae-m2d-emote-roundtrip
git switch mschae-m2d-emote-roundtrip
git rebase main
git switch main
git merge --ff-only mschae-m2d-emote-roundtrip
git switch mschae-m2d-emote-roundtrip
git rebase main
git switch main
git merge --no-ff mschae-m2d-emote-roundtrip
git switch main
git merge --squash mschae-m2d-emote-roundtrip
git switch main
git merge --ff-only mschae-m2d-emote-roundtrip
git switch main
git merge mschae-m2d-emote-roundtrip
git push origin main
Sign in to join this conversation.
No description provided.