mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-19 16:46:36 +00:00
Rename GroupInfoView to GroupInfoDto
This commit is contained in:
@@ -499,9 +499,9 @@ namespace Emby.Server.Implementations.SyncPlay
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public GroupInfoView GetInfo()
|
||||
public GroupInfoDto GetInfo()
|
||||
{
|
||||
return new GroupInfoView()
|
||||
return new GroupInfoDto()
|
||||
{
|
||||
GroupId = GetGroupId().ToString(),
|
||||
PlayingItemName = _group.PlayingItem.Name,
|
||||
|
||||
@@ -286,13 +286,13 @@ namespace Emby.Server.Implementations.SyncPlay
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<GroupInfoView> ListGroups(SessionInfo session, Guid filterItemId)
|
||||
public List<GroupInfoDto> ListGroups(SessionInfo session, Guid filterItemId)
|
||||
{
|
||||
var user = _userManager.GetUserById(session.UserId);
|
||||
|
||||
if (user.SyncPlayAccess == SyncPlayAccess.None)
|
||||
{
|
||||
return new List<GroupInfoView>();
|
||||
return new List<GroupInfoDto>();
|
||||
}
|
||||
|
||||
// Filter by item if requested
|
||||
|
||||
Reference in New Issue
Block a user