summaryrefslogtreecommitdiffstats
path: root/lib/Service/ParticipantService.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Service/ParticipantService.php')
-rw-r--r--lib/Service/ParticipantService.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Service/ParticipantService.php b/lib/Service/ParticipantService.php
index be27b16ed..18e2698f1 100644
--- a/lib/Service/ParticipantService.php
+++ b/lib/Service/ParticipantService.php
@@ -326,6 +326,9 @@ class ParticipantService {
if (isset($participant['displayName'])) {
$attendee->setDisplayName($participant['displayName']);
}
+ if (isset($participant['accessToken'])) {
+ $attendee->setAccessToken($participant['accessToken']);
+ }
$attendee->setParticipantType($participant['participantType'] ?? Participant::USER);
$attendee->setLastReadMessage($lastMessage);
$attendee->setReadPrivacy($readPrivacy);