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
path: root/lib/Chat
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2022-08-18 16:04:07 +0300
committerGitHub <noreply@github.com>2022-08-18 16:04:07 +0300
commit08c0b209a575b258078c07de64d700c3a167d0b3 (patch)
treed8d40d271127f82dbc3b164ef518fcc964b113c0 /lib/Chat
parent5228f51d92963818ea688eb392a56240f20b9b46 (diff)
parentd06d6f625e271c5138477c4d867213ba74b8a4e9 (diff)
Merge pull request #7771 from nextcloud/bugfix/noid/expose-chat-message-expiration-timestamp
Expose message expiration for chat message objects
Diffstat (limited to 'lib/Chat')
-rw-r--r--lib/Chat/Parser/SystemMessage.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Chat/Parser/SystemMessage.php b/lib/Chat/Parser/SystemMessage.php
index 9cd88747f..3ab91f800 100644
--- a/lib/Chat/Parser/SystemMessage.php
+++ b/lib/Chat/Parser/SystemMessage.php
@@ -461,7 +461,6 @@ class SystemMessage {
$hours = $parameters['seconds'] >= 3600 ? (int) round($parameters['seconds'] / 3600) : 0;
$minutes = (int) round($parameters['seconds'] / 60);
- $parsedParameters['seconds'] = $parameters['seconds'];
if ($currentUserIsActor) {
if ($weeks > 0) {
$parsedMessage = $this->l->n('You set the message expiration to %n week', 'You set the message expiration to %n weeks', $weeks);