blob: 27c461a3d4690cd266eafd220913da4f6d42f54c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import * as bsky from '#/types/bsky'
export function isBlockedOrBlocking(profile: bsky.profile.AnyProfileView) {
return profile.viewer?.blockedBy || profile.viewer?.blocking
}
export function isMuted(profile: bsky.profile.AnyProfileView) {
return profile.viewer?.muted || profile.viewer?.mutedByList
}
|