diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-07-28 09:36:43 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-07-28 09:36:43 +0900 |
| commit | a8adc46f3ba42e86c64a64f2633f5796aeca01f4 (patch) | |
| tree | e774dd66366702a9f7adb2d688283523a0556c99 /src/misc | |
| parent | chore: Remove debug code (diff) | |
| download | sharkey-a8adc46f3ba42e86c64a64f2633f5796aeca01f4.tar.gz sharkey-a8adc46f3ba42e86c64a64f2633f5796aeca01f4.tar.bz2 sharkey-a8adc46f3ba42e86c64a64f2633f5796aeca01f4.zip | |
refactor: Rename function
Diffstat (limited to 'src/misc')
| -rw-r--r-- | src/misc/is-muted-user-related.ts (renamed from src/misc/should-mute-this-note.ts) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/should-mute-this-note.ts b/src/misc/is-muted-user-related.ts index 8f606a2943..6f074bcb90 100644 --- a/src/misc/should-mute-this-note.ts +++ b/src/misc/is-muted-user-related.ts @@ -1,4 +1,4 @@ -export default function(note: any, mutedUserIds: string[]): boolean { +export function isMutedUserRelated(note: any, mutedUserIds: string[]): boolean { if (mutedUserIds.includes(note.userId)) { return true; } |