Send emojis as unicode (#977)
* render the shortnames as unicode when sending a message * updated CHANGES.md
This commit is contained in:
parent
561bdbba35
commit
115b887802
@ -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
|
||||
|
@ -756,7 +756,7 @@
|
||||
fullname,
|
||||
sender: 'me',
|
||||
time: moment().format(),
|
||||
message: text
|
||||
message: emojione.shortnameToUnicode(text)
|
||||
});
|
||||
this.sendMessage(message);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user