mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-12 22:51:52 +00:00
PoC suggesting posts to channels.
This commit is contained in:
@@ -685,6 +685,9 @@ bool PeerData::canCreatePolls() const {
|
||||
}
|
||||
|
||||
bool PeerData::canCreateTodoLists() const {
|
||||
if (isMonoforum()) {
|
||||
return false;
|
||||
}
|
||||
return session().premium()
|
||||
&& (Data::CanSend(this, ChatRestriction::SendPolls) || isUser());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user