mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-08 00:59:17 +00:00
[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:
parent
e540628db1
commit
72b690365b
4 changed files with 13 additions and 26 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue