mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-14 02:14:15 +01:00
do not publish notify from server on reconnect
This commit is contained in:
parent
fc3ad1f7f8
commit
f389bed4e1
3 changed files with 8 additions and 1 deletions
|
|
@ -261,6 +261,11 @@ public partial class ApiController
|
|||
Mediator.Publish(new NotificationMessage("Warning from " + _serverManager.CurrentServer!.ServerName, message, NotificationType.Warning, 7500));
|
||||
break;
|
||||
case MessageSeverity.Information:
|
||||
if (_doNotNotifiyOnNextInfo)
|
||||
{
|
||||
_doNotNotifiyOnNextInfo = false;
|
||||
break;
|
||||
}
|
||||
Mediator.Publish(new NotificationMessage("Info from " + _serverManager.CurrentServer!.ServerName, message, NotificationType.Info, 5000));
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue