Fixed NullReferenceException when replying to an email

This commit is contained in:
how02
2024-04-18 05:36:36 +03:00
parent 3ea6bd759e
commit da5ef6c001

View File

@@ -121,7 +121,7 @@ namespace Wino.Mail.ViewModels.Collections
var addedAccountProviderType = addedItem.AssignedAccount.ProviderType;
var threadingStrategy = ThreadingStrategyProvider.GetStrategy(addedAccountProviderType);
var threadingStrategy = ThreadingStrategyProvider?.GetStrategy(addedAccountProviderType);
if (threadingStrategy?.ShouldThreadWithItem(addedItem, item) ?? false)
{