mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
Only kick the session we want to remove, not any
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
cbfa72d9f4
commit
7521157060
1 changed files with 1 additions and 1 deletions
|
|
@ -1458,7 +1458,7 @@ class RoomController extends AEnvironmentAwareController {
|
|||
} catch (ParticipantNotFoundException $e) {
|
||||
}
|
||||
|
||||
if ($previousSession instanceof Session && $previousSession->getSessionId() !== '0') {
|
||||
if ($previousSession instanceof Session && $previousSession->getSessionId() === $sessionId) {
|
||||
if ($force === false && $previousSession->getInCall() !== Participant::FLAG_DISCONNECTED) {
|
||||
// Previous session is/was active in the call, show a warning
|
||||
return new DataResponse([
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue