File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
projects/stream-chat-angular/src/lib Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export class AvatarComponent {
6060 const otherMembers = Object . values (
6161 this . channel ?. state ?. members || { }
6262 ) . filter (
63- ( m ) => m . user_id !== this . chatClientService . chatClient . user ! . id
63+ ( m ) => m . user_id !== this . chatClientService . chatClient . user ? .id
6464 ) ;
6565 if ( otherMembers . length === 1 ) {
6666 result =
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export const getChannelDisplayText = (
1212 if ( channel . state . members && Object . keys ( channel . state . members ) . length > 0 ) {
1313 const members = Object . values ( channel . state . members )
1414 . map ( ( m ) => m . user || { id : m . user_id ! } )
15- . filter ( ( m ) => m . id !== currentUser . id ) ;
15+ . filter ( ( m ) => m . id !== currentUser ? .id ) ;
1616 return listUsers ( members ) ;
1717 }
1818 return channel . id ;
You can’t perform that action at this time.
0 commit comments