Skip to content

Commit

Permalink
Update changes
Browse files Browse the repository at this point in the history
  • Loading branch information
atir-naveed-geeksltd committed May 3, 2023
1 parent 742a6db commit c829a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Olive.Email.Imap/ImapService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public async Task MarkAsSeen(MimeMessage message)

var ids = await folder.SearchAsync(SearchQuery.HeaderContains("Message-Id", message.MessageId));

await ids.DoAsync((id, _) => folder.SetFlagsAsync(id, MessageFlags.Seen, silent: true));
await ids.DoAsync(async (id, _) => await folder.SetFlagsAsync(id, MessageFlags.Seen, silent: true));
}
}
}
Expand Down

0 comments on commit c829a79

Please sign in to comment.