Skip to content

Commit

Permalink
Config Breaking: ImportTrashed should default to false.
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJump committed Oct 3, 2023
1 parent 0df4eeb commit a9359ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private bool ImportTrashedItem(XElement node, HandlerSettings config)
{
// unless the setting is explicit we don't import trashed items.
var trashed = node.Element("Info")?.Element("Trashed").ValueOrDefault(false);
if (trashed.GetValueOrDefault(false) && !config.GetSetting("ImportTrashed", true)) return false;
if (trashed.GetValueOrDefault(false) && !config.GetSetting("ImportTrashed", false)) return false;

return true;
}
Expand Down

0 comments on commit a9359ef

Please sign in to comment.