aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Activity
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-07-26 23:02:32 +0200
committerBond_009 <bond.009@outlook.com>2021-07-26 23:02:32 +0200
commit501de7b6dcbeeb124cc0a2a84f21be4ec19be8ec (patch)
tree2eeb7e7a92c20639fdbbb7484bf08a339866a6ec /Jellyfin.Server.Implementations/Activity
parentb024059f7120a901974c0ec673371b819b23bdfd (diff)
Enable nullable in more files
Diffstat (limited to 'Jellyfin.Server.Implementations/Activity')
-rw-r--r--Jellyfin.Server.Implementations/Activity/ActivityManager.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/Jellyfin.Server.Implementations/Activity/ActivityManager.cs b/Jellyfin.Server.Implementations/Activity/ActivityManager.cs
index 27360afb0..a3a2a8baf 100644
--- a/Jellyfin.Server.Implementations/Activity/ActivityManager.cs
+++ b/Jellyfin.Server.Implementations/Activity/ActivityManager.cs
@@ -86,15 +86,12 @@ namespace Jellyfin.Server.Implementations.Activity
private static ActivityLogEntry ConvertToOldModel(ActivityLog entry)
{
- return new ActivityLogEntry
+ return new ActivityLogEntry(entry.Name, entry.Type, entry.UserId)
{
Id = entry.Id,
- Name = entry.Name,
Overview = entry.Overview,
ShortOverview = entry.ShortOverview,
- Type = entry.Type,
ItemId = entry.ItemId,
- UserId = entry.UserId,
Date = entry.DateCreated,
Severity = entry.LogSeverity
};