Add chat ID in the console

pull/1/head
yflory 5 years ago
parent cf8841cdfa
commit 13e1d1267d

@ -220,6 +220,7 @@ define([
setTimeout(saveChanges); setTimeout(saveChanges);
} }
padChatChannel = channel; padChatChannel = channel;
console.error('Chat ID:', channel);
ctx.sframeChan.query('Q_CHAT_OPENPADCHAT', channel, function (err, obj) { ctx.sframeChan.query('Q_CHAT_OPENPADCHAT', channel, function (err, obj) {
if (err || (obj && obj.error)) { console.error(err || (obj && obj.error)); } if (err || (obj && obj.error)) { console.error(err || (obj && obj.error)); }
}); });

Loading…
Cancel
Save