PoC suggesting posts to channels.

This commit is contained in:
John Preston
2025-06-13 14:39:30 +04:00
parent 8dbc175c02
commit 7e5a29a5cc
42 changed files with 712 additions and 58 deletions
+3
View File
@@ -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());
}