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>2019-09-10 17:01:55 +0300
committerJoas Schilling <coding@schilljs.com>2019-09-10 17:01:55 +0300
commit454c9c94db4ef8be3b0ed51927c9267458d11e70 (patch)
treeed6568c43caee874d73b618f6f41ae845dc5e8a0 /lib/Room.php
parentcf0a10aad53df4af33860cb8c2f05df1a3bef116 (diff)
Also add the user who started the call
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Room.php')
-rw-r--r--lib/Room.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Room.php b/lib/Room.php
index b6022ca4f..b5f54c29f 100644
--- a/lib/Room.php
+++ b/lib/Room.php
@@ -1053,7 +1053,7 @@ class Room {
->andWhere($query->expr()->nonEmptyString('user_id'));
if ($maxLastJoined instanceof \DateTimeInterface) {
- $query->andWhere($query->expr()->gt('last_joined_call', $query->createNamedParameter($maxLastJoined, IQueryBuilder::PARAM_DATE)));
+ $query->andWhere($query->expr()->gte('last_joined_call', $query->createNamedParameter($maxLastJoined, IQueryBuilder::PARAM_DATE)));
}
$result = $query->execute();