mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 01:24:44 +01:00
update selection buttons
This commit is contained in:
@@ -256,7 +256,15 @@ namespace MediaBrowser.Server.Implementations.EntryPoints.Notifications
|
||||
NotificationType = type
|
||||
};
|
||||
|
||||
notification.Variables["ItemName"] = item.Name;
|
||||
if (e.Item != null)
|
||||
{
|
||||
notification.Variables["ItemName"] = GetItemName(e.Item);
|
||||
}
|
||||
else
|
||||
{
|
||||
notification.Variables["ItemName"] = item.Name;
|
||||
}
|
||||
|
||||
notification.Variables["UserName"] = user == null ? "Unknown user" : user.Name;
|
||||
notification.Variables["AppName"] = e.ClientName;
|
||||
notification.Variables["DeviceName"] = e.DeviceName;
|
||||
|
||||
Reference in New Issue
Block a user