mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Allow delete all from service message.
This commit is contained in:
parent
498e82b804
commit
6b084301be
1 changed files with 1 additions and 1 deletions
|
@ -645,7 +645,7 @@ bool HistoryItem::suggestDeleteAllReport() const {
|
||||||
if (!channel || !channel->canDeleteMessages()) {
|
if (!channel || !channel->canDeleteMessages()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return !isPost() && !out() && from()->isUser() && toHistoryMessage();
|
return !isPost() && !out() && from()->isUser();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool HistoryItem::hasDirectLink() const {
|
bool HistoryItem::hasDirectLink() const {
|
||||||
|
|
Loading…
Add table
Reference in a new issue