multiple user ids for bot api
This commit is contained in:
1 parent
870118d5ab
commit
31d03bcb14
8 files changed
+59
-44
No files matched your search
@@ -27,7 +27,8 @@
|
||||
var check = setInterval(function() {
|
||||
var url = location.href;
|
||||
if (url.indexOf(CALL_PATH_MARKER) !== -1) {
|
||||
console.log("[BOT] Telemost: call link:", url);
|
||||
var tabId = window.__CALL_CHECKER_TAB_ID || '';
|
||||
console.log("[BOT] Telemost[" + tabId + "]: call link:", url);
|
||||
window.__CALL_LINK__ = url;
|
||||
clearInterval(check);
|
||||
}
|
||||
|
||||
@@ -35,7 +35,8 @@
|
||||
|
||||
var captureLink = function(link) {
|
||||
if (window.__CALL_LINK_CAPTURED__) return;
|
||||
console.log("[BOT] VKCalls: call link:", link);
|
||||
var tabId = window.__CALL_CHECKER_TAB_ID || '';
|
||||
console.log("[BOT] VKCalls[" + tabId + "]: call link:", link);
|
||||
window.__CALL_LINK__ = link;
|
||||
window.__CALL_LINK_CAPTURED__ = true;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user