Hide last message in chat list if it's blocked (#10800)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user