mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Disable "Clear history" in forums.
This commit is contained in:
parent
6e491913d6
commit
c6bc7c3de1
1 changed files with 1 additions and 1 deletions
|
@ -589,7 +589,7 @@ void Filler::addClearHistory() {
|
|||
if (!channel->amIn()) {
|
||||
return;
|
||||
} else if (!channel->canDeleteMessages()
|
||||
&& (!isGroup || channel->isPublic())) {
|
||||
&& (!isGroup || channel->isPublic() || channel->isForum())) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue