From 8aad714918bc21e9820034c3a96aebbc2c9f0fa3 Mon Sep 17 00:00:00 2001 From: choco Date: Thu, 23 Oct 2025 00:40:54 +0200 Subject: [PATCH] removed wrong ondisconnect notification --- LightlessSync/Services/BroadcastService.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/LightlessSync/Services/BroadcastService.cs b/LightlessSync/Services/BroadcastService.cs index 81e54d5..cca9af6 100644 --- a/LightlessSync/Services/BroadcastService.cs +++ b/LightlessSync/Services/BroadcastService.cs @@ -144,11 +144,7 @@ public class BroadcastService : IHostedService, IMediatorSubscriber IsLightFinderAvailable = false; ApplyBroadcastDisabled(forcePublish: true); _logger.LogDebug("Cleared Lightfinder state due to disconnect."); - - _mediator.Publish(new NotificationMessage( - "Disconnected from Server", - "Your Lightfinder broadcast has been disabled due to disconnection.", - NotificationType.Warning)); + } public Task StartAsync(CancellationToken cancellationToken)