From 140e47d842a520fca77249a3d7e55002ff0c5084 Mon Sep 17 00:00:00 2001 From: cutls Date: Tue, 10 Dec 2019 23:24:16 +0900 Subject: [PATCH] Add unknown notf type of Pleroma, 'move' --- app/js/tl/notification.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/js/tl/notification.js b/app/js/tl/notification.js index d23d5a37..288c16fa 100644 --- a/app/js/tl/notification.js +++ b/app/js/tl/notification.js @@ -69,7 +69,8 @@ function notfColumn(acct_id, tlid, sys) { var n = new Notification('TheDesk:' + domain, options) } var mute = getFilterTypeByAcct(acct_id, 'notif') - if (obj.type != 'follow') { + //Pleromaにはmoveというtypeがあるらしい。何が互換APIじゃ + if (obj.type != 'follow' && obj.type != 'move') { if (misskey) { templete = templete + misskeyParse([obj], 'notf', acct_id, tlid, -1, mute) } else {