diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/RoomController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/RoomController.php b/lib/Controller/RoomController.php index 1ae553c18..b4415d0a1 100644 --- a/lib/Controller/RoomController.php +++ b/lib/Controller/RoomController.php @@ -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([ |