Add unknown notf type of Pleroma, 'move'
This commit is contained in:
parent
44128d8801
commit
140e47d842
|
@ -69,7 +69,8 @@ function notfColumn(acct_id, tlid, sys) {
|
||||||
var n = new Notification('TheDesk:' + domain, options)
|
var n = new Notification('TheDesk:' + domain, options)
|
||||||
}
|
}
|
||||||
var mute = getFilterTypeByAcct(acct_id, 'notif')
|
var mute = getFilterTypeByAcct(acct_id, 'notif')
|
||||||
if (obj.type != 'follow') {
|
//Pleromaにはmoveというtypeがあるらしい。何が互換APIじゃ
|
||||||
|
if (obj.type != 'follow' && obj.type != 'move') {
|
||||||
if (misskey) {
|
if (misskey) {
|
||||||
templete = templete + misskeyParse([obj], 'notf', acct_id, tlid, -1, mute)
|
templete = templete + misskeyParse([obj], 'notf', acct_id, tlid, -1, mute)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user