Disable "Clear history" in forums.

This commit is contained in:
John Preston 2022-10-25 12:16:56 +04:00
parent 6e491913d6
commit c6bc7c3de1

View file

@ -589,7 +589,7 @@ void Filler::addClearHistory() {
if (!channel->amIn()) {
return;
} else if (!channel->canDeleteMessages()
&& (!isGroup || channel->isPublic())) {
&& (!isGroup || channel->isPublic() || channel->isForum())) {
return;
}
}