Commit 115b8878 authored by ChaosKid42's avatar ChaosKid42 Committed by JC Brand

Send emojis as unicode (#977)

* render the shortnames as unicode when sending a message

* updated CHANGES.md
parent 561bdbba
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
- The `/voice` MUC command didn't set the right role in order to grant voice again. - The `/voice` MUC command didn't set the right role in order to grant voice again.
### New Features ### New Features
- Emojis are now sent in unicode instead of short names
- #314 Add support for opening chat rooms with a URL fragment such as `#converse/room?jid=room@domain` - #314 Add support for opening chat rooms with a URL fragment such as `#converse/room?jid=room@domain`
and private chats with a URL fragment such as `#converse/chat?jid=user@domain` and private chats with a URL fragment such as `#converse/chat?jid=user@domain`
- #828 Add routing for the `#converse/login` and `#converse/register` URL - #828 Add routing for the `#converse/login` and `#converse/register` URL
......
...@@ -756,7 +756,7 @@ ...@@ -756,7 +756,7 @@
fullname, fullname,
sender: 'me', sender: 'me',
time: moment().format(), time: moment().format(),
message: text message: emojione.shortnameToUnicode(text)
}); });
this.sendMessage(message); this.sendMessage(message);
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment