From a6b0e41b0732a568585c6e956143dff412168a0a Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Mon, 11 Mar 2024 00:08:56 +0100 Subject: [PATCH] WIP1 --- Jellyfin.Plugins.Telegram/Notifier.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jellyfin.Plugins.Telegram/Notifier.cs b/Jellyfin.Plugins.Telegram/Notifier.cs index 7035a75..4f75182 100644 --- a/Jellyfin.Plugins.Telegram/Notifier.cs +++ b/Jellyfin.Plugins.Telegram/Notifier.cs @@ -49,10 +49,15 @@ public async Task SendNotification(UserNotification request, CancellationToken c { var options = GetOptions(request.User); + var text = + string.IsNullOrEmpty(request.Name) ? request.Name : request.Description + + text = "D:= " + text; + await Notifier.SendNotification( _httpClientFactory, options.Token, options.ChatId, options.SilentNotificationEnabled, - string.IsNullOrEmpty(request.Name) ? request.Name : request.Description + text ); }