Skip to content
Snippets Groups Projects
Unverified Commit c57e76dd authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Added createTime to join options (#3818)

* Added createTime to join options

* small fix
parent 7cf0c083
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,15 @@ class BigBlueButtonApi ...@@ -24,7 +24,15 @@ class BigBlueButtonApi
end end
def join_meeting(room:, name:, role:) def join_meeting(room:, name:, role:)
bbb_server.join_meeting_url room.meeting_id, name, '', { role: } bbb_server.join_meeting_url(
room.meeting_id,
name,
'', # empty password -> use the role passed ing
{
role:,
createTime: room.last_session&.to_datetime&.strftime('%Q')
}.compact
)
end end
def meeting_running?(room:) def meeting_running?(room:)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment