Skip to content

Commit

Permalink
WIP1
Browse files Browse the repository at this point in the history
  • Loading branch information
knocte committed Mar 10, 2024
1 parent aea2dc8 commit a6b0e41
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Jellyfin.Plugins.Telegram/Notifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check failure on line 53 in Jellyfin.Plugins.Telegram/Notifier.cs

View workflow job for this annotation

GitHub Actions / Build

; expected

Check failure on line 53 in Jellyfin.Plugins.Telegram/Notifier.cs

View workflow job for this annotation

GitHub Actions / Build

; expected

text = "D:= " + text;

await Notifier.SendNotification(
_httpClientFactory,
options.Token, options.ChatId, options.SilentNotificationEnabled,
string.IsNullOrEmpty(request.Name) ? request.Name : request.Description
text
);
}

Expand Down

0 comments on commit a6b0e41

Please sign in to comment.