mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-27 02:56:54 +01:00
sync model
This commit is contained in:
@@ -42,6 +42,11 @@ namespace MediaBrowser.Model.ApiClient
|
||||
existing.DateLastAccessed = server.DateLastAccessed;
|
||||
}
|
||||
|
||||
if (server.DateLastLocalConnection > existing.DateLastLocalConnection)
|
||||
{
|
||||
existing.DateLastLocalConnection = server.DateLastLocalConnection;
|
||||
}
|
||||
|
||||
existing.UserLinkType = server.UserLinkType;
|
||||
|
||||
if (!string.IsNullOrEmpty(server.AccessToken))
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace MediaBrowser.Model.ApiClient
|
||||
public String AccessToken { get; set; }
|
||||
public List<WakeOnLanInfo> WakeOnLanInfos { get; set; }
|
||||
public DateTime DateLastAccessed { get; set; }
|
||||
public DateTime DateLastLocalConnection { get; set; }
|
||||
public String ExchangeToken { get; set; }
|
||||
public UserLinkType? UserLinkType { get; set; }
|
||||
public ConnectionMode? LastConnectionMode { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user