diff options
author | Joachim Bauch <bauch@struktur.de> | 2018-06-22 13:54:52 +0300 |
---|---|---|
committer | Joachim Bauch <bauch@struktur.de> | 2018-06-22 15:01:45 +0300 |
commit | 0a1392037727bfe9cf7c5fa537fbb9b1a30b10d1 (patch) | |
tree | 2690278dfe3593077ad94bd04c9e4ccebbdd6255 /lib/Signaling/BackendNotifier.php | |
parent | db5861e3902bb895e874f911e9e8d2c43e28682a (diff) |
Make sure to include "userid" for all participants that are users.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
Diffstat (limited to 'lib/Signaling/BackendNotifier.php')
-rw-r--r-- | lib/Signaling/BackendNotifier.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Signaling/BackendNotifier.php b/lib/Signaling/BackendNotifier.php index b185aecec..d0bff9c00 100644 --- a/lib/Signaling/BackendNotifier.php +++ b/lib/Signaling/BackendNotifier.php @@ -286,11 +286,11 @@ class BackendNotifier{ $users = []; $participants = $room->getParticipants(); foreach ($participants['users'] as $userId => $participant) { + $participant['userId'] = $userId; if ($participant['inCall']) { $users[] = $participant; } if (in_array($participant['sessionId'], $sessionIds)) { - $participant['userId'] = $userId; $changed[] = $participant; } } |