Hide last message in chat list if it's blocked (#10800)

This commit is contained in:
DS Boyce
2026-06-08 22:13:15 -07:00
committed by GitHub
parent c6e6b83d50
commit 8015c26955
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import type * as bsky from '#/types/bsky'
export function isBlockedOrBlocking(profile: bsky.profile.AnyProfileView) {
return profile.viewer?.blockedBy || profile.viewer?.blocking
return Boolean(profile.viewer?.blockedBy || profile.viewer?.blocking)
}
export function isMuted(profile: bsky.profile.AnyProfileView) {