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:
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/ParticipantService.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Service/ParticipantService.php b/lib/Service/ParticipantService.php
index cf78aff27..2904e750a 100644
--- a/lib/Service/ParticipantService.php
+++ b/lib/Service/ParticipantService.php
@@ -629,13 +629,13 @@ class ParticipantService {
$helper = new SelectHelper();
$helper->selectAttendeesTable($query);
$helper->selectSessionsTable($query);
- $query->from('talk_sessions', 's')
+ $query->from('talk_attendees', 'a')
->leftJoin(
- 's', 'talk_attendees', 'a',
+ 'a', 'talk_sessions', 's',
$query->expr()->eq('s.attendee_id', 'a.id')
)
->where($query->expr()->eq('a.room_id', $query->createNamedParameter($room->getId(), IQueryBuilder::PARAM_INT)))
- ->andWhere($query->expr()->eq('notification_level', $query->createNamedParameter($notificationLevel, IQueryBuilder::PARAM_INT)));
+ ->andWhere($query->expr()->eq('a.notification_level', $query->createNamedParameter($notificationLevel, IQueryBuilder::PARAM_INT)));
return $this->getParticipantsFromQuery($query, $room);
}
@@ -687,9 +687,9 @@ class ParticipantService {
$query = $this->connection->getQueryBuilder();
$query->select('a.actor_id')
- ->from('talk_sessions', 's')
+ ->from('talk_attendees', 'a')
->leftJoin(
- 's', 'talk_attendees', 'a',
+ 'a', 'talk_sessions', 's',
$query->expr()->eq('s.attendee_id', 'a.id')
)
->where($query->expr()->eq('a.room_id', $query->createNamedParameter($room->getId(), IQueryBuilder::PARAM_INT)))