diff options
author | Joas Schilling <coding@schilljs.com> | 2021-07-07 17:38:24 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-07-07 17:39:36 +0300 |
commit | 31a32b678086a6d70e7a3f4635cdb04a2b38b7b7 (patch) | |
tree | 1949caa8f7fbd11c3284a4d95c2ad848675f4c41 /lib | |
parent | bbed7ef20200e626eb070520b61c5fff9c07e7f3 (diff) |
Add unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Chat/Notifier.php | 2 |
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); |