1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-22 05:43:07 +00:00

Add local support for twemoji.

Adds twemoji support, with the twemoji library and graphics hosted on the local NextCloud install.
This commit is contained in:
Greg Ross
2018-07-02 14:31:08 -04:00
committed by Loïc Blot
parent e6a2214bc9
commit 967a60b4c3
5687 changed files with 2862 additions and 7 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ use \OCA\OcSms\Lib\CountryCodes;
\OCP\Util::addScript('ocsms', 'devel/conversation');
\OCP\Util::addScript('ocsms', 'devel/helpers');
\OCP\Util::addScript('ocsms', 'devel/notifications');
\OCP\Util::addScript('ocsms', 'twemoji/twemoji.min');
?>
<script type="text/x-template" id="modal-template" xmlns:v-on="http://www.w3.org/1999/xhtml"
@@ -129,7 +129,7 @@ use \OCA\OcSms\Lib\CountryCodes;
<div v-if="messages.length > 0" class="ocsms-messages-container">
<div v-for="message in orderedMessages">
<div v-bind:class="['msg-'+ message.type]">
<div>{{ message.content }}</div>
<div v-html="message.content"></div>
<div style="display: block;" id="ocsms-message-removal" class="icon-delete svn delete action" v-on:click="removeConversationMessage(message.id);"></div>
<div class="msg-date">{{ message.date | date:'medium' }}</div>
</div>