useChannelMuteActive

Returns whether mute is currently active for a channel.

For direct chats, it checks muted users; for group channels, it checks muted channels.

Best Practices

  • Use this hook to drive mute badges and mute action labels.
  • Do not duplicate mute checks in row render code.
  • Combine with useIsDirectChat only when custom branching is required.
  • Keep mute indicators visually consistent across channel-list surfaces.
  • Handle false as the default value when no mute state applies.

Usage

import { useChannelMuteActive } from "stream-chat-react-native";

const muteActive = useChannelMuteActive(channel);

Parameters

Name Type Required Description
channel Channel Yes Channel to evaluate for active mute state.

Returns

Type Description
boolean Whether mute is active for this channel conversation.
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat React Native v9: <Your Question>