mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
fixed client type display for ios. also fixed display preferences saving.
This commit is contained in:
@@ -51,11 +51,7 @@ namespace MediaBrowser.Api
|
||||
{
|
||||
var user = UserManager.GetUserById(new Guid(auth["UserId"]));
|
||||
|
||||
ClientType clientType;
|
||||
|
||||
Enum.TryParse(auth["Client"] ?? string.Empty, out clientType);
|
||||
|
||||
UserManager.LogUserActivity(user, clientType, auth["DeviceId"], auth["Device"] ?? string.Empty);
|
||||
UserManager.LogUserActivity(user, auth["Client"], auth["DeviceId"], auth["Device"] ?? string.Empty);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user