Added nsfw in group profile editor.

This commit is contained in:
CakeAndBanana
2025-10-19 16:55:42 +02:00
parent 280c80d89f
commit edb7232b17
4 changed files with 26 additions and 15 deletions

View File

@@ -117,7 +117,7 @@ public partial class ApiController
}
public async Task<GroupProfileDto> GroupGetProfile(GroupDto dto)
{
if (!IsConnected) return new GroupProfileDto(Group: dto.Group, Description: null, Tags: null, PictureBase64: null);
if (!IsConnected) return new GroupProfileDto(Group: dto.Group, Description: null, Tags: null, PictureBase64: null, IsNsfw: false, IsDisabled: false);
return await _lightlessHub!.InvokeAsync<GroupProfileDto>(nameof(GroupGetProfile), dto).ConfigureAwait(false);
}