mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-16 23:26:22 +00:00
3.0.5233.40306
This commit is contained in:
@@ -27,6 +27,7 @@ namespace MediaBrowser.Server.Implementations.Notifications
|
||||
new NotificationTypeInfo
|
||||
{
|
||||
Type = NotificationType.ApplicationUpdateInstalled.ToString(),
|
||||
DefaultDescription = "{ReleaseNotes}",
|
||||
DefaultTitle = "A new version of Media Browser Server has been installed.",
|
||||
Variables = new List<string>{"Version"}
|
||||
},
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace MediaBrowser.Server.Implementations.Notifications
|
||||
var description = GetDescription(request, options);
|
||||
|
||||
var tasks = _services.Where(i => IsEnabled(i, notificationType))
|
||||
.Select(i => SendNotification(request, i, users, description, title, cancellationToken));
|
||||
.Select(i => SendNotification(request, i, users, title, description, cancellationToken));
|
||||
|
||||
return Task.WhenAll(tasks);
|
||||
}
|
||||
@@ -176,7 +176,7 @@ namespace MediaBrowser.Server.Implementations.Notifications
|
||||
{
|
||||
if (options != null)
|
||||
{
|
||||
text = options.Title;
|
||||
text = options.Description;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user