mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[store] Make store use AllowNSFW option
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user