Fixed AutoSavedStore's deletion of data when table was using composite keys.

This commit is contained in:
Tom
2025-01-09 03:38:23 +00:00
parent 3429c8f8dc
commit 467c3cf0b0
15 changed files with 202 additions and 221 deletions

View File

@@ -4,7 +4,7 @@ using HermesSocketServer.Store.Internal;
namespace HermesSocketServer.Store
{
public class ChatterStore : AutoSavedStore<string, ChatterVoice>
public class ChatterStore : ComplexAutoSavedStore<string, ChatterVoice>
{
private readonly string _userId;
private readonly Database _database;
@@ -43,9 +43,5 @@ namespace HermesSocketServer.Store
protected override void OnInitialModify(string key, ChatterVoice value)
{
}
protected override void OnInitialRemove(string key)
{
}
}
}