diff --git a/ts/models/messages.ts b/ts/models/messages.ts index 43e5fc826..0c2bd5bfe 100644 --- a/ts/models/messages.ts +++ b/ts/models/messages.ts @@ -2148,8 +2148,7 @@ export class MessageModel extends window.Backbone.Model { // If we successfully sent to a user, we can remove our unregistered flag. result.successfulIdentifiers.forEach((identifier: string) => { - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - const c = window.ConversationController.get(identifier)!; + const c = window.ConversationController.get(identifier); if (c && c.isEverUnregistered()) { c.setRegistered(); }