[store] Make store use AllowNSFW option

This commit is contained in:
Andriy
2023-07-21 18:40:24 +03:00
parent 613ac5ae22
commit 4893c1240d
11 changed files with 47 additions and 46 deletions
@@ -8,5 +8,5 @@ public interface IRandomMediaService
public StoreItem StoreItem { get; }
public Task<RandomMedia> GetRandomMediaAsync();
public async Task<bool> CanView(Chat chat, User user) => true;
public Task<bool> CanView(Chat chat, User user) => Task.FromResult(true);
}