From 2971144d7f98d052165d5edb9d4988c90fe3b525 Mon Sep 17 00:00:00 2001 From: cutls Date: Fri, 11 Oct 2019 22:04:14 +0900 Subject: [PATCH] Fix fav and bt errors --- app/js/tl/parse.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/js/tl/parse.js b/app/js/tl/parse.js index 02ee84c1..1d265210 100644 --- a/app/js/tl/parse.js +++ b/app/js/tl/parse.js @@ -191,7 +191,6 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { var times = []; Object.keys(obj).forEach(function (key) { var toot = obj[key]; - if (type == "dm") { var dmid = toot.id; toot = toot.last_status; @@ -335,6 +334,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { } var if_notf = 'data-notfIndv="' + acct_id + "_" + toot.id + '" data-notf="' + toot.id + '"'; var toot = toot.status; + var uniqueid = toot.id; var dis_name = escapeHTML(toot.account.display_name); if (toot.account.emojis) { var actemojick = toot.account.emojis[0]; @@ -384,7 +384,6 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { if (toot.account.emojis) { var actemojick = toot.account.emojis[0]; } else { - var uniqueid = toot.id; var actemojick = false; } //絵文字があれば