Add chat ID in the console

This commit is contained in:
yflory 2020-04-23 15:08:13 +02:00
parent cf8841cdfa
commit 13e1d1267d

View File

@ -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)); }
}); });