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>2021-07-07 17:38:24 +0300
committerJoas Schilling <coding@schilljs.com>2021-07-07 17:39:36 +0300
commit31a32b678086a6d70e7a3f4635cdb04a2b38b7b7 (patch)
tree1949caa8f7fbd11c3284a4d95c2ad848675f4c41 /lib
parentbbed7ef20200e626eb070520b61c5fff9c07e7f3 (diff)
Add unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Chat/Notifier.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Chat/Notifier.php b/lib/Chat/Notifier.php
index e3aa088be..c881d5b88 100644
--- a/lib/Chat/Notifier.php
+++ b/lib/Chat/Notifier.php
@@ -207,7 +207,7 @@ class Notifier {
$notification->setObject('chat', $chat->getToken());
$this->notificationManager->markProcessed($notification);
- if ($chatOnly) {
+ if (!$chatOnly) {
$notification->setObject('room', $chat->getToken());
$this->notificationManager->markProcessed($notification);