Updated Whisper Push Notifications (markdown)
parent
6fa6fc82fc
commit
b5afb6dc73
|
@ -219,7 +219,7 @@ var createChatSession = function (subscriptionKey) {
|
|||
topics: [newChatSessionTopic],
|
||||
payload: '{"chat": "' + chatId + '"}', // globally unique chat ID
|
||||
ttl: 20,
|
||||
keyname: keyname
|
||||
keyname: keyname // we use subscription key, so connection is NOT public
|
||||
});
|
||||
if (err !== null) {
|
||||
console.log("message NOT sent")
|
||||
|
|
Loading…
Reference in New Issue