[ShareBubbles] Fixed Public/Private text on bubble not being correct, Fixed bubble displaying as locked or not claimed despite being shared the content if it was private and not owned by you

This commit is contained in:
NotAKidoS 2025-04-03 04:15:11 -05:00
parent e540628db1
commit 72b690365b
4 changed files with 13 additions and 26 deletions

View file

@ -39,10 +39,8 @@ namespace NAK.ShareBubbles.Impl
Name = infoResponse.Name,
ImageUrl = infoResponse.ImageUrl,
AuthorId = infoResponse.User.Id,
IsPublic = infoResponse.Published,
// Permit access if Public, Owned, or (CANNOT DO PRIVATE & SHARED CAUSE API DOESNT GIVE)
IsPermitted = infoResponse.Published || infoResponse.User.Id == MetaPort.Instance.ownerId,
IsPublic = infoResponse.IsPublished,
IsPermitted = infoResponse.Permitted,
};
downloadedTexture = await ImageCache.GetImageAsync(details.ImageUrl);