diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-12-06 05:32:31 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-04-24 18:47:18 +0300 |
commit | f1691c06bfc5502a50edbddce18a2209aa10e51c (patch) | |
tree | 7a394fa05aab55e162abfd66865a3b4cc90570c4 /templates | |
parent | b526c14308b18382b676743b524abe021bc767f3 (diff) |
Format rich messages in chat frontend
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 <danxuliu@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index-public.php | 1 | ||||
-rw-r--r-- | templates/index.php | 1 |
2 files changed, 2 insertions, 0 deletions
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', |