From f1691c06bfc5502a50edbddce18a2209aa10e51c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Wed, 6 Dec 2017 03:32:31 +0100 Subject: Format rich messages in chat frontend MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The RichObjectStringParser was copied from the Notifications app and adapted to be used in the chat (support for file references was removed, "-" is taken into account too in parameter IDs, only local users are taken into account, and if the display name of a mention is empty the user ID is used instead). Signed-off-by: Daniel Calviño Sánchez --- templates/index-public.php | 1 + templates/index.php | 1 + 2 files changed, 2 insertions(+) (limited to 'templates') diff --git a/templates/index-public.php b/templates/index-public.php index c2306d487..db83642a2 100644 --- a/templates/index-public.php +++ b/templates/index-public.php @@ -25,6 +25,7 @@ script( 'views/roomlistview', 'views/sidebarview', 'views/tabview', + 'richobjectstringparser', 'simplewebrtc', 'webrtc', 'signaling', diff --git a/templates/index.php b/templates/index.php index 9c614ccd3..2a3fb8607 100644 --- a/templates/index.php +++ b/templates/index.php @@ -28,6 +28,7 @@ script( 'views/roomlistview', 'views/sidebarview', 'views/tabview', + 'richobjectstringparser', 'simplewebrtc', 'webrtc', 'signaling', -- cgit v1.2.3