Root contact concept.

This commit is contained in:
Burak Kaan Köse
2024-08-24 00:14:32 +02:00
parent d272b62c45
commit 20f4857405
4 changed files with 8 additions and 3 deletions

View File

@@ -52,7 +52,10 @@ namespace Wino.Core.Services
{
await Connection.InsertAsync(info).ConfigureAwait(false);
}
await Connection.InsertOrReplaceAsync(info).ConfigureAwait(false);
else if (!currentContact.IsRootContact) // Don't update root contacts. They belong to accounts.
{
await Connection.InsertOrReplaceAsync(info).ConfigureAwait(false);
}
}
}
}