diff options
author | Joas Schilling <coding@schilljs.com> | 2020-10-30 17:19:03 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-11-26 11:46:43 +0300 |
commit | d5dbdeb6973b2b9249764d057a73fd682e6c6ee8 (patch) | |
tree | 9936e854ee313251c6228cb82ab681b2775ea12b /lib/Participant.php | |
parent | f3e6e5667f70300dcb0ef84546600ec2853b1108 (diff) |
Store the session given by the HPB for the actor
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Participant.php')
-rw-r--r-- | lib/Participant.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Participant.php b/lib/Participant.php index 9044c8736..b0a6bfaa6 100644 --- a/lib/Participant.php +++ b/lib/Participant.php @@ -71,6 +71,10 @@ class Participant { return $this->session; } + public function setSession(Session $session): void { + $this->session = $session; + } + public function isGuest(): bool { $participantType = $this->attendee->getParticipantType(); return \in_array($participantType, [self::GUEST, self::GUEST_MODERATOR], true); |