File tree Expand file tree Collapse file tree
src/libs/Notification/LocalNotification Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ export default {
100100 let body ;
101101 const icon = usesIcon ? EXPENSIFY_ICON_URL : '' ;
102102
103- const isChatRoom = ReportUtils . isChatRoom ( report ) || ReportUtils . isPolicyExpenseChat ( report ) ;
103+ const isRoomOrGroupChat = ReportUtils . isChatRoom ( report ) || ReportUtils . isPolicyExpenseChat ( report ) || ReportUtils . isGroupChat ( report ) ;
104104
105105 const { person, message} = reportAction ;
106106 const plainTextPerson = person ?. map ( ( f ) => Str . removeSMSDomain ( f . text ?? '' ) ) . join ( ) ?? '' ;
@@ -113,7 +113,7 @@ export default {
113113 plainTextMessage = message ?. type === 'COMMENT' ? getTextFromHtml ( message ?. html ) : '' ;
114114 }
115115
116- if ( isChatRoom ) {
116+ if ( isRoomOrGroupChat ) {
117117 const roomName = ReportUtils . getReportName ( report ) ;
118118 title = roomName ;
119119 body = `${ plainTextPerson } : ${ plainTextMessage } ` ;
You can’t perform that action at this time.
0 commit comments