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:
authorJoas Schilling <coding@schilljs.com>2022-02-26 02:20:48 +0300
committerJoas Schilling <coding@schilljs.com>2022-03-08 14:11:06 +0300
commitdcc6291e0948140ff232b1b3c8b864ec6fec75e8 (patch)
tree7a5442feffbcabfde018ced2223d5ea089f29b65 /lib/Service
parent4348f61fdea704916273822f9603532e2ba56abe (diff)
Combine last_activity and last_message update where possible
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Service')
-rw-r--r--lib/Service/ParticipantService.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Service/ParticipantService.php b/lib/Service/ParticipantService.php
index c02a4910a..3e3cd8d74 100644
--- a/lib/Service/ParticipantService.php
+++ b/lib/Service/ParticipantService.php
@@ -441,7 +441,6 @@ class ParticipantService {
protected function updateRoomLastMessage(Room $room, IComment $message): void {
$room->setLastMessage($message);
- $room->setLastActivity($message->getCreationDateTime());
$lastMessageCache = $this->cacheFactory->createDistributed('talk/lastmsgid');
$lastMessageCache->remove($room->getToken());
$unreadCountCache = $this->cacheFactory->createDistributed('talk/unreadcount');