mirror of
https://github.com/Caraxi/mare.client.git
synced 2026-01-03 17:43:39 +01:00
Merge branch 'main' of https://github.com/Penumbra-Sync/client
This commit is contained in:
commit
04961618ed
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,6 @@ public sealed partial class ApiController : DisposableMediatorSubscriberBase, IM
|
|||
|
||||
if (_connectionDto.ServerVersion != IMareHub.ApiVersion)
|
||||
{
|
||||
await StopConnection(ServerState.VersionMisMatch).ConfigureAwait(false);
|
||||
if (_connectionDto.CurrentClientVersion > currentClientVer)
|
||||
{
|
||||
Mediator.Publish(new NotificationMessage("Client incompatible",
|
||||
|
|
@ -188,6 +187,7 @@ public sealed partial class ApiController : DisposableMediatorSubscriberBase, IM
|
|||
$"This client version is incompatible and will not be able to connect. Please update your Mare Synchronos client.",
|
||||
Dalamud.Interface.Internal.Notifications.NotificationType.Error));
|
||||
}
|
||||
await StopConnection(ServerState.VersionMisMatch).ConfigureAwait(false);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue