diff --git a/src/CoreBundle/Controller/ChatController.php b/src/CoreBundle/Controller/ChatController.php
index b12c2198632..397ba6d2133 100644
--- a/src/CoreBundle/Controller/ChatController.php
+++ b/src/CoreBundle/Controller/ChatController.php
@@ -41,6 +41,8 @@ public function index(): Response
[
'restrict_to_coach' => ('true' === api_get_setting('chat.course_chat_restrict_to_coach')),
'user' => api_get_user_info(),
+ 'emoji_smile' => '😊',
+ 'course_url_params' => api_get_cidreq(),
]
);
}
diff --git a/src/CoreBundle/Resources/views/Chat/chat.html.twig b/src/CoreBundle/Resources/views/Chat/chat.html.twig
index 91d17a624de..661acbc78ae 100644
--- a/src/CoreBundle/Resources/views/Chat/chat.html.twig
+++ b/src/CoreBundle/Resources/views/Chat/chat.html.twig
@@ -114,13 +114,13 @@
buttonTitle = user.isConnected ? '{{ 'StartAChat'|get_lang }}' : '{{ 'LeaveAMessage'|get_lang }}';
html += '
' +
- ' ' +
+ '
' +
'

' +
'
' +
' - ' + user.complete_name;
- if (user.id != {{ user.id }}) {
- html += '