forked from
jollywhoppers.com/witchsky.app
Bluesky app fork with some witchin' additions 馃挮
1import type * as bsky from '#/types/bsky'
2
3export function isBlockedOrBlocking(profile: bsky.profile.AnyProfileView) {
4 return profile.viewer?.blockedBy || profile.viewer?.blocking
5}
6
7export function isMuted(profile: bsky.profile.AnyProfileView) {
8 return profile.viewer?.muted || profile.viewer?.mutedByList
9}