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:
@@ -589,7 +589,7 @@ void Filler::addClearHistory() {
|
||||
if (!channel->amIn()) {
|
||||
return;
|
||||
} else if (!channel->canDeleteMessages()
|
||||
&& (!isGroup || channel->isPublic())) {
|
||||
&& (!isGroup || channel->isPublic() || channel->isForum())) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user