use new latest id from page in setup

This commit is contained in:
Zachary Chai 2016-12-01 18:03:41 -05:00
parent f63ea9c4b8
commit 98a8cdbd2a
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
var initRooms = function() {
App.messages = App.cable.subscriptions.create({
channel: 'MeetingUpdatesChannel',
encrypted_id: Meeting.getInstance().getId()
encrypted_id: $(".page-wrapper").data('id')
},
{
received: function(data) {

View File

@ -19,7 +19,7 @@
var initRooms = function() {
App.messages = App.cable.subscriptions.create({
channel: 'RecordingUpdatesChannel',
encrypted_id: Meeting.getInstance().getId()
encrypted_id: $(".page-wrapper").data('id')
},
{
received: function(data) {