mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-30 01:08:02 +00:00
Allow forwarding polls to monoforums.
This commit is contained in:
@@ -668,6 +668,8 @@ bool PeerData::canCreatePolls() const {
|
||||
&& !user->isSupport()
|
||||
&& !user->isRepliesChat()
|
||||
&& !user->isVerifyCodes());
|
||||
} else if (isMonoforum()) {
|
||||
return false;
|
||||
}
|
||||
return Data::CanSend(this, ChatRestriction::SendPolls);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user