Skip to content

Commit

Permalink
refactor: trying something more
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnarkhede committed Mar 11, 2024
1 parent d38ba2d commit 57a41a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,7 @@ export class Channel<StreamChatGenerics extends ExtendableGenerics = DefaultGene
if (Array.isArray(this.data?.own_capabilities) && !this.data?.own_capabilities.includes('read-events'))
return false;

console.log('received new message', message);
if (this.muteStatus().muted) return false;

return true;
Expand Down Expand Up @@ -1488,6 +1489,8 @@ export class Channel<StreamChatGenerics extends ExtendableGenerics = DefaultGene
console.log('this.cid', this.cid);
console.log('this.initialized', this.initialized);
console.log('this.offlineMode', this.offlineMode);
console.log('this.user', this.getClient().user);
console.log('channel data', this.data);
console.log('this.getClient()._isUsingServerAuth()', this.getClient()._isUsingServerAuth());

throw Error(
Expand Down

0 comments on commit 57a41a6

Please sign in to comment.