summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-07-28 09:36:43 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-07-28 09:36:43 +0900
commita8adc46f3ba42e86c64a64f2633f5796aeca01f4 (patch)
treee774dd66366702a9f7adb2d688283523a0556c99 /src/misc
parentchore: Remove debug code (diff)
downloadsharkey-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;
}