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
diff options
context:
space:
mode:
authorMarco <marcoambrosini@pm.me>2022-04-14 10:32:23 +0300
committerGitHub <noreply@github.com>2022-04-14 10:32:23 +0300
commit1361a9838c8a07ae5464496d615e478b82c597b8 (patch)
tree2215cc597663826b5d35fb0042d4422537fdff58 /lib
parent6ff57ea87eaf4114e211f1b1706d88b994954cf5 (diff)
parent09731a4ac649fe2504606289e5846657d7dcc71b (diff)
Merge pull request #7142 from nextcloud/bugfix/7024/dont-update-last-message
Don't update last message of conversation with invisible message
Diffstat (limited to 'lib')
-rw-r--r--lib/Chat/ChatManager.php3
-rw-r--r--lib/Chat/ReactionManager.php3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/Chat/ChatManager.php b/lib/Chat/ChatManager.php
index 42fe56a10..398a5f6cf 100644
--- a/lib/Chat/ChatManager.php
+++ b/lib/Chat/ChatManager.php
@@ -363,7 +363,8 @@ class ChatManager {
$this->timeFactory->getDateTime(),
false,
null,
- (int) $comment->getId()
+ (int) $comment->getId(),
+ true
);
}
diff --git a/lib/Chat/ReactionManager.php b/lib/Chat/ReactionManager.php
index de346fa7b..ddee0fb1e 100644
--- a/lib/Chat/ReactionManager.php
+++ b/lib/Chat/ReactionManager.php
@@ -141,7 +141,8 @@ class ReactionManager {
$this->timeFactory->getDateTime(),
false,
null,
- $messageId
+ $messageId,
+ true
);
return $comment;