Remove unnecessary non-null assertion
This commit is contained in:
parent
bf647b36d4
commit
bb3ab816dd
1 changed files with 1 additions and 2 deletions
|
@ -1831,8 +1831,7 @@ export class ConversationModel extends window.Backbone.Model<
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||||
const destination = this.getSendTarget()!;
|
const destination = this.getSendTarget()!;
|
||||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
const recipients = this.getRecipients();
|
||||||
const recipients = this.getRecipients()!;
|
|
||||||
|
|
||||||
let profileKey: ArrayBuffer | undefined;
|
let profileKey: ArrayBuffer | undefined;
|
||||||
if (this.get('profileSharing')) {
|
if (this.get('profileSharing')) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue