Skip to content

Commit

Permalink
fix: ignore unread count for thread replies
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnarkhede committed Jan 27, 2022
1 parent 8f5d273 commit 1146660
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,7 @@ export class Channel<
) {
if (message.shadowed) return false;
if (message.silent) return false;
if (message.parent_id && !message.show_in_channel) return false;
if (message.user?.id === this.getClient().userID) return false;
if (message.user?.id && this.getClient().userMuteStatus(message.user.id)) return false;
if (message.type === 'system') return false;
Expand Down

0 comments on commit 1146660

Please sign in to comment.