Browse Source

Don't clear previous sessions when joining

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/5194/head
Joas Schilling 5 years ago
parent
commit
783fb000da
No known key found for this signature in database GPG Key ID: 7076EA9751AACDDA
  1. 3
      lib/Service/SessionService.php

3
lib/Service/SessionService.php

@ -85,9 +85,6 @@ class SessionService {
* @throws UniqueConstraintViolationException
*/
public function createSessionForAttendee(Attendee $attendee, string $forceSessionId = ''): Session {
// Currently a participant can only join once
$this->sessionMapper->deleteByAttendeeId($attendee->getId());
$session = new Session();
$session->setAttendeeId($attendee->getId());

Loading…
Cancel
Save