[store] hide nsfw content behind spoiler

This commit is contained in:
Andriy
2023-01-02 23:31:05 +02:00
parent 996147436b
commit ff78d8e2ae
5 changed files with 26 additions and 7 deletions
@@ -29,7 +29,7 @@ public class OBoobsService : IRandomMediaService
var boobsItem = boobsResponse![0];
var boobsId = boobsItem.Id.ToString("D5");
return new RandomMedia(new InputFileUrl($"https://media.oboobs.ru/boobs/{boobsId}.jpg"), boobsItem.Model);
return new RandomMedia(new InputFileUrl($"https://media.oboobs.ru/boobs/{boobsId}.jpg"), boobsItem.Model, true);
}
public async Task<bool> CanView(Chat chat, User user)