diff --git a/ts/models/message.ts b/ts/models/message.ts index d16e577017..36cd675f3b 100644 --- a/ts/models/message.ts +++ b/ts/models/message.ts @@ -1295,21 +1295,6 @@ export class MessageModel extends Backbone.Model { return window.i18n('answeredACall', [displayName]); } } - if (this.get('callNotificationType')) { - const displayName = getConversationController().getContactProfileNameOrShortenedPubKey( - this.get('conversationId') - ); - const callNotificationType = this.get('callNotificationType'); - if (callNotificationType === 'missed-call') { - return window.i18n('callMissed', [displayName]); - } - if (callNotificationType === 'started-call') { - return window.i18n('startedACall', [displayName]); - } - if (callNotificationType === 'answered-a-call') { - return window.i18n('answeredACall', [displayName]); - } - } return this.get('body'); } }