Skip to content

Commit

Permalink
Fix bug where invalid room name in pass onto Jitsi (#75)
Browse files Browse the repository at this point in the history
* Room name might be `Tom's Desk` which will try to GET https://meet.zinc.coop/Tom's%20Desk
which isn't a valid room.
* We should always use slug
  • Loading branch information
user512 authored Aug 4, 2020
1 parent 036f20e commit 7d5046c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convene-web/app/views/rooms/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
data-controller="video-room"
data-target="video-room.wrapper"
data-video-room-video-host="<%= current_workspace.jitsi_meet_domain %>"
data-video-room-name="<%= @current_room.name %>"
data-video-room-name="<%= @current_room.slug %>"
class="bg-gray-800"
>
</div>
Expand Down

0 comments on commit 7d5046c

Please sign in to comment.