add note handling

This commit is contained in:
Stanley Dimant
2022-10-06 22:22:53 +02:00
parent 58ad7153d3
commit 0599416f4c
4 changed files with 60 additions and 13 deletions

View File

@@ -10,6 +10,8 @@ namespace MareSynchronos.WebAPI;
public partial class ApiController
{
public ClientPairDto? LastAddedUser { get; set; }
private void UserForcedReconnectCallback()
{
_ = CreateConnections();
@@ -25,6 +27,7 @@ public partial class ApiController
}
if (entry == null)
{
LastAddedUser = dto;
PairedClients.Add(dto);
return;
}