fix: parameter type

fix #103
pull/109/head
sualko 2020-12-14 20:38:06 +01:00
parent 336c2d9947
commit c4aad1af89
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class API {
* *
* @return string join url * @return string join url
*/ */
public function createJoinUrl(Room $room, int $creationTime, string $displayname, ?string $uid = null) { public function createJoinUrl(Room $room, float $creationTime, string $displayname, ?string $uid = null) {
$password = $this->permission->isModerator($room, $uid) ? $room->moderatorPassword : $room->attendeePassword; $password = $this->permission->isModerator($room, $uid) ? $room->moderatorPassword : $room->attendeePassword;
$joinMeetingParams = new JoinMeetingParameters($room->uid, $displayname, $password); $joinMeetingParams = new JoinMeetingParameters($room->uid, $displayname, $password);