From 00ab58232c17c7bb7c37c3d26ef2086932329ad5 Mon Sep 17 00:00:00 2001 From: Kalon Shannon-Innes Date: Thu, 19 Feb 2026 00:22:55 +0000 Subject: [PATCH] Simplify title concatenation --- src/NzbDrone.Core/Notifications/Gotify/Gotify.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Notifications/Gotify/Gotify.cs b/src/NzbDrone.Core/Notifications/Gotify/Gotify.cs index 37250eb86d..9973cf2802 100644 --- a/src/NzbDrone.Core/Notifications/Gotify/Gotify.cs +++ b/src/NzbDrone.Core/Notifications/Gotify/Gotify.cs @@ -91,7 +91,7 @@ public override ValidationResult Test() if (Settings.IncludeInstanceNameInTitle && _configFileProvider.InstanceName.IsNotNullOrWhiteSpace()) { - title = $"{title} - {_configFileProvider.InstanceName}"; + title += $" - {_configFileProvider.InstanceName}"; } var payload = new GotifyMessage @@ -140,7 +140,7 @@ private void SendNotification(string title, string message, Movie movie) if (Settings.IncludeInstanceNameInTitle && _configFileProvider.InstanceName.IsNotNullOrWhiteSpace()) { - title = $"{title} - {_configFileProvider.InstanceName}"; + title += $" - {_configFileProvider.InstanceName}"; } var payload = new GotifyMessage