Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/chat.md9
-rw-r--r--lib/Chat/Parser/SystemMessage.php20
2 files changed, 19 insertions, 10 deletions
diff --git a/docs/chat.md b/docs/chat.md
index 5a7ad2be8..b7aee6a52 100644
--- a/docs/chat.md
+++ b/docs/chat.md
@@ -219,6 +219,8 @@ See [OCP\RichObjectStrings\Definitions](https://github.com/nextcloud/server/blob
* `conversation_created` - {actor} created the conversation
* `conversation_renamed` - {actor} renamed the conversation from "foo" to "bar"
+* `description_set` - {actor} set the description to "Hello world"
+* `description_removed` - {actor} removed the description
* `call_started` - {actor} started a call
* `call_joined` - {actor} joined the call
* `call_left` - {actor} left the call
@@ -242,3 +244,10 @@ See [OCP\RichObjectStrings\Definitions](https://github.com/nextcloud/server/blob
* `guest_moderator_promoted` - {actor} promoted {user} to moderator
* `guest_moderator_demoted` - {actor} demoted {user} from moderator
* `message_deleted` - Message deleted by {actor} (Should not be shown to the user)
+* `file_shared` - {file}
+* `object_shared` - {object}
+* `matterbridge_config_added` - {actor} set up Matterbridge to synchronize this conversation with other chats
+* `matterbridge_config_edited` - {actor} updated the Matterbridge configuration
+* `matterbridge_config_removed` - {actor} removed the Matterbridge configuration
+* `matterbridge_config_enabled` - {actor} started Matterbridge
+* `matterbridge_config_disabled` - {actor} stopped Matterbridge
diff --git a/lib/Chat/Parser/SystemMessage.php b/lib/Chat/Parser/SystemMessage.php
index cedaaa666..9164cbed2 100644
--- a/lib/Chat/Parser/SystemMessage.php
+++ b/lib/Chat/Parser/SystemMessage.php
@@ -336,29 +336,29 @@ class SystemMessage {
$parsedMessage = '{object}';
$chatMessage->setMessageType('comment');
} elseif ($message === 'matterbridge_config_added') {
- $parsedMessage = $this->l->t('{actor} set up Matterbridge to synchronize this conversation with other chats.');
+ $parsedMessage = $this->l->t('{actor} set up Matterbridge to synchronize this conversation with other chats');
if ($currentUserIsActor) {
- $parsedMessage = $this->l->t('You set up Matterbridge to synchronize this conversation with other chats.');
+ $parsedMessage = $this->l->t('You set up Matterbridge to synchronize this conversation with other chats');
}
} elseif ($message === 'matterbridge_config_edited') {
- $parsedMessage = $this->l->t('{actor} updated the Matterbridge configuration.');
+ $parsedMessage = $this->l->t('{actor} updated the Matterbridge configuration');
if ($currentUserIsActor) {
- $parsedMessage = $this->l->t('You updated the Matterbridge configuration.');
+ $parsedMessage = $this->l->t('You updated the Matterbridge configuration');
}
} elseif ($message === 'matterbridge_config_removed') {
- $parsedMessage = $this->l->t('{actor} removed the Matterbridge configuration.');
+ $parsedMessage = $this->l->t('{actor} removed the Matterbridge configuration');
if ($currentUserIsActor) {
- $parsedMessage = $this->l->t('You removed the Matterbridge configuration.');
+ $parsedMessage = $this->l->t('You removed the Matterbridge configuration');
}
} elseif ($message === 'matterbridge_config_enabled') {
- $parsedMessage = $this->l->t('{actor} started Matterbridge.');
+ $parsedMessage = $this->l->t('{actor} started Matterbridge');
if ($currentUserIsActor) {
- $parsedMessage = $this->l->t('You started Matterbridge.');
+ $parsedMessage = $this->l->t('You started Matterbridge');
}
} elseif ($message === 'matterbridge_config_disabled') {
- $parsedMessage = $this->l->t('{actor} stopped Matterbridge.');
+ $parsedMessage = $this->l->t('{actor} stopped Matterbridge');
if ($currentUserIsActor) {
- $parsedMessage = $this->l->t('You stopped Matterbridge.');
+ $parsedMessage = $this->l->t('You stopped Matterbridge');
}
} elseif ($message === 'message_deleted') {
$parsedMessage = $this->l->t('{actor} deleted a message');