diff options
author | Joas Schilling <coding@schilljs.com> | 2022-04-13 15:01:42 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-04-13 15:07:15 +0300 |
commit | 8a749b97ec1de860e737588a66f756e33aea643b (patch) | |
tree | 73704f10e1eb56e7ae9fe566aac3bd1d26a027e1 | |
parent | 1735a7a41758134fb84cb252e46c3841dd63bff4 (diff) |
Don't update last room message when deleting a message or reaction
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | lib/Chat/ChatManager.php | 3 | ||||
-rw-r--r-- | lib/Chat/ReactionManager.php | 3 |
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; |