Update quotes to render emoji just like normal messages
This commit is contained in:
parent
a7d44d3344
commit
21713cbce7
5 changed files with 52 additions and 8 deletions
|
@ -206,3 +206,11 @@ parent.textsecure.storage.user.getNumber = () => ourNumber;
|
|||
// Telling Lodash to relinquish _ for use by underscore
|
||||
// @ts-ignore
|
||||
_.noConflict();
|
||||
|
||||
parent.emoji.signalReplace = (html: string): string => {
|
||||
return html.replace(
|
||||
/🔥/g,
|
||||
'<img src="node_modules/emoji-datasource-apple/img/apple/64/1f525.png"' +
|
||||
'class="emoji" data-codepoints="1f525" title=":fire:">'
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue