From 3368e30e15d503e320fc4adefcf529ac0bb4ffd6 Mon Sep 17 00:00:00 2001 From: Cutls Date: Tue, 25 Jun 2019 23:26:01 +0900 Subject: [PATCH] Fix: streaming bug --- app/js/tl/misskeyparse.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/js/tl/misskeyparse.js b/app/js/tl/misskeyparse.js index f2ac940e..eb7386e4 100644 --- a/app/js/tl/misskeyparse.js +++ b/app/js/tl/misskeyparse.js @@ -998,7 +998,11 @@ function connectMisskey(acct_id) { console.log([domain + ":Receive Streaming API:", data]); var data = JSON.parse(mess.data) var obj = data.body.body - + if (localStorage.getItem("filter_" + acct_id) != "undefined") { + var mute = getFilterType(JSON.parse(localStorage.getItem("filter_" + acct_id)), type); + } else { + var mute = []; + } if (data.body.id.indexOf("notf:") !== -1) { var obj = JSON.parse(mess.data).body; console.log(obj);