Do not drop a potential match just because it has an online_id.

Now that we don't exclude from import a transaction with an FITID that
matches an already existing transaction, if one accidentally re-imports
a transaction, this allows it to be automatically matched against the
previously imported transaction.
This commit is contained in:
goodvibes2 2021-07-27 12:15:25 +10:00
parent 3f1e24991f
commit 2ee89f6693

View File

@ -1783,8 +1783,6 @@ create_hash_of_potential_matches (GList *candidate_txns,
{ {
Account* split_account; Account* split_account;
GSList* split_list; GSList* split_list;
if (gnc_import_split_has_online_id (candidate->data))
continue;
split_account = xaccSplitGetAccount (candidate->data); split_account = xaccSplitGetAccount (candidate->data);
/* g_hash_table_steal_extended would do the two calls in one shot but is /* g_hash_table_steal_extended would do the two calls in one shot but is
* not available until GLib 2.58. * not available until GLib 2.58.