diff --git a/background.js b/background.js index 3b8d9a3..8306d22 100644 --- a/background.js +++ b/background.js @@ -163,7 +163,8 @@ const sendStreamNotify = async (streamer = null) => { on twitch."id" = rt."twitch" where twitch."id" = $1 - and line."notify" = true` + and line."notify" = true + and rt."type" = 'live'` let values = [streamer.user_id] rt = await db.query({ text,