mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-17 23:34:14 +01:00
Enable tsconfig noUncheckedIndexedAccess
This commit is contained in:
@@ -141,7 +141,8 @@ export async function deleteStoryForEveryone(
|
||||
let recipient = newStoryRecipients.get(destinationServiceId);
|
||||
if (!recipient) {
|
||||
const isAllowedToReply =
|
||||
sendStateByConversationId[conversationId].isAllowedToReplyToStory;
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
sendStateByConversationId[conversationId]!.isAllowedToReplyToStory;
|
||||
recipient = {
|
||||
distributionListIds: new Set(),
|
||||
isAllowedToReply: isAllowedToReply !== false,
|
||||
|
||||
Reference in New Issue
Block a user