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.
|
- 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 @@
|
||||||
fullname,
|
fullname,
|
||||||
sender: 'me',
|
sender: 'me',
|
||||||
time: moment().format(),
|
time: moment().format(),
|
||||||
message: text
|
message: emojione.shortnameToUnicode(text)
|
||||||
});
|
});
|
||||||
this.sendMessage(message);
|
this.sendMessage(message);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user