mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[store] kitties now have own http client factory
This commit is contained in:
@@ -15,5 +15,6 @@ public abstract class AbstractNsfwService : IRandomMediaService
|
||||
_allowNsfw = allowNsfw;
|
||||
}
|
||||
|
||||
public async Task<bool> CanView(Chat chat, User user) => await _allowNsfw.GetValueAsync(chat.Id);
|
||||
public async Task<bool> CanView(Chat chat, User user)
|
||||
=> await _allowNsfw.GetValueAsync(chat.Id);
|
||||
}
|
||||
Reference in New Issue
Block a user