Remove unnecessary nullish coalescing (#12058)
This commit is contained in:
		| @@ -49,7 +49,7 @@ class HomeTimelineChannel extends Channel { | ||||
| 		} | ||||
|  | ||||
| 		// Ignore notes from instances the user has muted | ||||
| 		if (isInstanceMuted(note, new Set<string>(this.userProfile!.mutedInstances ?? []))) return; | ||||
| 		if (isInstanceMuted(note, new Set<string>(this.userProfile!.mutedInstances))) return; | ||||
|  | ||||
| 		if (note.visibility === 'followers') { | ||||
| 			if (!Object.hasOwn(this.following, note.userId)) return; | ||||
|   | ||||
| @@ -69,7 +69,7 @@ class HybridTimelineChannel extends Channel { | ||||
| 		} | ||||
|  | ||||
| 		// Ignore notes from instances the user has muted | ||||
| 		if (isInstanceMuted(note, new Set<string>(this.userProfile!.mutedInstances ?? []))) return; | ||||
| 		if (isInstanceMuted(note, new Set<string>(this.userProfile!.mutedInstances))) return; | ||||
|  | ||||
| 		// 関係ない返信は除外 | ||||
| 		if (note.reply && !this.following[note.userId]?.withReplies && !this.withReplies) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 woxtu
					woxtu