mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Support separate message type group restrictions.
This commit is contained in:
@@ -392,7 +392,7 @@ Data::MessagesSlice ScheduledMessages::list(not_null<History*> history) {
|
||||
|
||||
void ScheduledMessages::request(not_null<History*> history) {
|
||||
const auto peer = history->peer;
|
||||
if (peer->isBroadcast() && !peer->canWrite()) {
|
||||
if (peer->isBroadcast() && !Data::CanSendAnything(peer)) {
|
||||
return;
|
||||
}
|
||||
auto &request = _requests[history];
|
||||
|
Reference in New Issue
Block a user