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:
authorJoas Schilling <coding@schilljs.com>2022-04-13 15:01:42 +0300
committerJoas Schilling <coding@schilljs.com>2022-04-13 15:07:15 +0300
commit8a749b97ec1de860e737588a66f756e33aea643b (patch)
tree73704f10e1eb56e7ae9fe566aac3bd1d26a027e1 /lib
parent1735a7a41758134fb84cb252e46c3841dd63bff4 (diff)
Don't update last room message when deleting a message or reaction
Signed-off-by: Joas Schilling <coding@schilljs.com>
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;