fix: Remove wrong comment

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
Daniel Calviño Sánchez
2024-07-22 13:30:33 +02:00
committed by Joas Schilling
parent 2394fa49a0
commit 668c91f61c

View File

@ -1902,7 +1902,6 @@ class RoomController extends AEnvironmentAwareController {
$this->session->removeSessionForRoom($token);
try {
// The participant is just joining, so enforce to not load any session
if (!$this->federationAuthenticator->isFederationRequest()) {
$room = $this->manager->getRoomForUserByToken($token, $this->userId, $sessionId);
$participant = $this->participantService->getParticipantBySession($room, $sessionId);