mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-25 10:42:11 +00:00
added room id in exchange parameters
This commit is contained in:
@@ -17,10 +17,8 @@ App['chatroom' + chatroomId] = App.cable.subscriptions.create({
|
||||
room: chatroomId
|
||||
}, {
|
||||
connected: () => {
|
||||
console.log('Connected to ChatRoom ' + chatroomId)
|
||||
},
|
||||
received: data => {
|
||||
console.log(data)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user