From 5565124bd59a10f27baa7e914460262b02c64c71 Mon Sep 17 00:00:00 2001 From: choelzl Date: Sun, 6 Feb 2022 21:07:05 +0100 Subject: [PATCH] WIP --- web/overlay/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/overlay/index.js b/web/overlay/index.js index b3dd1a6..0f6b645 100644 --- a/web/overlay/index.js +++ b/web/overlay/index.js @@ -50,7 +50,10 @@ $(function () { while(socket.getReadyState() === 0){ await new Promise(r => setTimeout(r, 500)); } - socket.getDBValue("get_current_stream_info", 'streamInfo', 'lastSub', function(response) { + // $.inidb.get('streamInfo', 'lastSub', subscriber); + // $.inidb.get('streamInfo', 'lastFollow', follower); + // $.inidb.get('streamInfo', 'lastDonator', donationUsername); + socket.getDBValue("get_current_stream_info", 'streamInfo', 'lastFollow', function(response) { console.log(response); if(response.request_data) console.log(response.request_data)