File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1245,12 +1245,6 @@ export class MessageModel extends Backbone.Model<MessageAttributes> {
1245
1245
return window . i18n ( 'answeredACall' , [ displayName ] ) ;
1246
1246
}
1247
1247
}
1248
- if ( this . get ( 'reaction' ) ) {
1249
- const reaction = this . get ( 'reaction' ) ;
1250
- if ( reaction && reaction . emoji && reaction . emoji !== '' ) {
1251
- return window . i18n ( 'reactionNotification' , [ reaction . emoji ] ) ;
1252
- }
1253
- }
1254
1248
return this . get ( 'body' ) ;
1255
1249
}
1256
1250
}
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ function update(forceRefresh = false) {
175
175
176
176
const lastNotification = last ( currentNotifications ) ;
177
177
178
- if ( ! lastNotification ) {
178
+ if ( ! lastNotification || lastNotification . message === '' ) {
179
179
return ;
180
180
}
181
181
You can’t perform that action at this time.
0 commit comments