Files
discord-decomp/modules/guild_sidebar/showChannelBadge.tsx
T
2026-11-01 12:12:55 +02:00

5 lines
299 B
TypeScript

// Metro module 15193 (f15194).
export default function showChannelBadge({ mentionsCount, isNewChannel, postsWithUnreadsCount, muted }) {
return mentionsCount != null && mentionsCount > 0 || isNewChannel || muted != null && !muted && postsWithUnreadsCount != null && postsWithUnreadsCount > 0;
};