2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

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;
}
}