diff options
Diffstat (limited to 'lib/Controller/ChatController.php')
-rw-r--r-- | lib/Controller/ChatController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/ChatController.php b/lib/Controller/ChatController.php index 8e508d0b0..c0e6963ca 100644 --- a/lib/Controller/ChatController.php +++ b/lib/Controller/ChatController.php @@ -712,7 +712,7 @@ class ChatController extends AEnvironmentAwareController { $previousMessage = $this->chatManager->getPreviousMessageWithVerb( $this->room, (int)$message->getId(), - ['comment'], + [ChatManager::VERB_MESSAGE], $message->getVerb() === ChatManager::VERB_MESSAGE ); $unreadId = (int) $previousMessage->getId(); |