Skip to content

Commit

Permalink
ASC.Files: NotifyClient: null check added
Browse files Browse the repository at this point in the history
  • Loading branch information
andreysavihin committed Sep 9, 2024
1 parent 6c6a7e2 commit 0b15adb
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,11 @@ public async Task SendRoomRemovedAsync<T>(FileEntry<T> folder, List<AceWrapper>

var recipient = await recipientsProvider.GetRecipientAsync(recepientId.ToString());

if (recipient == null)
{
continue;
}

await client.SendNoticeAsync(
NotifyConstants.EventRoomRemoved,
folder.UniqID,
Expand Down

0 comments on commit 0b15adb

Please sign in to comment.