diff --git a/Lanpartyseating.Desktop.Tray/ToastNotificationService.cs b/Lanpartyseating.Desktop.Tray/ToastNotificationService.cs index 498040c..f99aae0 100644 --- a/Lanpartyseating.Desktop.Tray/ToastNotificationService.cs +++ b/Lanpartyseating.Desktop.Tray/ToastNotificationService.cs @@ -114,6 +114,9 @@ private void ProcessReceivedMessage(BaseMessage message) } else if (message is ReservationStateResponse reservationStateResponse) { + // Don't show the pop-up if the session is not active (e.g. tournament or fresh boot auto login) + if (reservationStateResponse.IsSessionActive == false) return; + var minutesUntilEnd = (reservationStateResponse.ReservationEnd - DateTimeOffset.UtcNow).TotalMinutes; var formattedLocalEndTime = reservationStateResponse.ReservationEnd.ToLocalTime().ToString("t");