mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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()) {
|
if (!channel->amIn()) {
|
||||||
return;
|
return;
|
||||||
} else if (!channel->canDeleteMessages()
|
} else if (!channel->canDeleteMessages()
|
||||||
&& (!isGroup || channel->isPublic())) {
|
&& (!isGroup || channel->isPublic() || channel->isForum())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue