diff options
author | Joas Schilling <coding@schilljs.com> | 2021-07-07 18:02:04 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-07-07 18:02:04 +0300 |
commit | b138414888dc8a558bacd9cfe3cf6735117f40b7 (patch) | |
tree | f135bdb871f1f2ef2497d9dc341e89c767d9c5d5 /lib | |
parent | 31a32b678086a6d70e7a3f4635cdb04a2b38b7b7 (diff) |
Change system message string
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Chat/ChatManager.php | 2 | ||||
-rw-r--r-- | lib/Chat/Parser/SystemMessage.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Chat/ChatManager.php b/lib/Chat/ChatManager.php index 2b12079e3..c7de834b3 100644 --- a/lib/Chat/ChatManager.php +++ b/lib/Chat/ChatManager.php @@ -297,7 +297,7 @@ class ChatManager { $chat, $actorType, $actorId, - json_encode(['message' => 'cleared_history', 'parameters' => []]), + json_encode(['message' => 'history_cleared', 'parameters' => []]), $this->timeFactory->getDateTime(), false ); diff --git a/lib/Chat/Parser/SystemMessage.php b/lib/Chat/Parser/SystemMessage.php index 031a4b943..f3d72a845 100644 --- a/lib/Chat/Parser/SystemMessage.php +++ b/lib/Chat/Parser/SystemMessage.php @@ -402,7 +402,7 @@ class SystemMessage { if ($currentUserIsActor) { $parsedMessage = $this->l->t('You deleted a message'); } - } elseif ($message === 'cleared_history') { + } elseif ($message === 'history_cleared') { $parsedMessage = $this->l->t('{actor} cleared the history of the conversation'); if ($currentUserIsActor) { $parsedMessage = $this->l->t('You cleared the history of the conversation'); |