forked from External/greenlight
set room name in html
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
var initRooms = function() {
|
||||
App.messages = App.cable.subscriptions.create({
|
||||
channel: 'ModeratorJoinsChannel',
|
||||
username: window.location.pathname.split('/').pop()
|
||||
username: getRoomName()
|
||||
},
|
||||
{
|
||||
received: function(data) {
|
||||
|
@ -3,7 +3,7 @@
|
||||
var initRooms = function() {
|
||||
App.messages = App.cable.subscriptions.create({
|
||||
channel: 'RecordingUpdatesChannel',
|
||||
username: window.location.pathname.split('/').pop()
|
||||
username: getRoomName()
|
||||
},
|
||||
{
|
||||
received: function(data) {
|
||||
|
Reference in New Issue
Block a user