Send emojis as unicode (#977)

* render the shortnames as unicode when sending a message

* updated CHANGES.md
This commit is contained in:
ChaosKid42 2018-01-17 17:03:23 +01:00 committed by JC Brand
parent 561bdbba35
commit 115b887802
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@
- The `/voice` MUC command didn't set the right role in order to grant voice again.
### 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`
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

View File

@ -756,7 +756,7 @@
fullname,
sender: 'me',
time: moment().format(),
message: text
message: emojione.shortnameToUnicode(text)
});
this.sendMessage(message);
},