Fix: misskey streaming
This commit is contained in:
parent
546b34275d
commit
3a9eab55a4
|
@ -998,11 +998,7 @@ function connectMisskey(acct_id) {
|
||||||
console.log([domain + ":Receive Streaming API:", data]);
|
console.log([domain + ":Receive Streaming API:", data]);
|
||||||
var data = JSON.parse(mess.data)
|
var data = JSON.parse(mess.data)
|
||||||
var obj = data.body.body
|
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 = [];
|
var mute = [];
|
||||||
}
|
|
||||||
if (data.body.id.indexOf("notf:") !== -1) {
|
if (data.body.id.indexOf("notf:") !== -1) {
|
||||||
var obj = JSON.parse(mess.data).body;
|
var obj = JSON.parse(mess.data).body;
|
||||||
console.log(obj);
|
console.log(obj);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user