diff options
Diffstat (limited to 'lib/TalkSession.php')
-rw-r--r-- | lib/TalkSession.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/TalkSession.php b/lib/TalkSession.php index 3e5516280..e85430d2c 100644 --- a/lib/TalkSession.php +++ b/lib/TalkSession.php @@ -37,6 +37,18 @@ class TalkSession { $this->removeValue('spreed-session', $token); } + public function getGuestActorIdForRoom(string $token): ?string { + return $this->getValue('spreed-guest-id', $token); + } + + public function setGuestActorIdForRoom(string $token, string $actorId): void { + $this->setValue('spreed-guest-id', $token, $actorId); + } + + public function removeGuestActorIdForRoom(string $token): void { + $this->removeValue('spreed-guest-id', $token); + } + public function getFileShareTokenForRoom(string $roomToken): ?string { return $this->getValue('spreed-file-share-token', $roomToken); } |