This commit is contained in:
tamaina
2023-05-10 19:18:48 +00:00
parent ac99cdce8b
commit 4f5d77391f
50 changed files with 218 additions and 171 deletions

View File

@@ -1,4 +1,4 @@
import type { Packed } from './json-schema.js';
import type { Packed } from 'misskey-js';
/**
* 投稿を表す文字列を取得します。

View File

@@ -1,4 +1,4 @@
import type { Packed } from './json-schema.js';
import type { Packed } from 'misskey-js';
export function isInstanceMuted(note: Packed<'Note'>, mutedInstances: Set<string>): boolean {
if (mutedInstances.has(note.user.host ?? '')) return true;