fixes reconnection issue

This commit is contained in:
Stanley Dimant
2022-07-10 15:21:12 +02:00
parent 1eccd791d1
commit a81d3b0d76
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
<PropertyGroup>
<Authors></Authors>
<Company></Company>
<Version>0.1.5.0</Version>
<Version>0.1.6.0</Version>
<Description></Description>
<Copyright></Copyright>
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>

View File

@@ -290,7 +290,7 @@ namespace MareSynchronos.WebAPI
private Task ConnectionHubOnReconnected(string? arg)
{
Logger.Debug("Connection restored");
_connectionDto = _connectionHub!.InvokeAsync<ConnectionDto>(ConnectionHubAPI.InvokeHeartbeat).Result;
_connectionDto = _connectionHub!.InvokeAsync<ConnectionDto>(ConnectionHubAPI.InvokeHeartbeat, _dalamudUtil.PlayerNameHashed).Result;
Connected?.Invoke();
return Task.CompletedTask;
}