Allow deleting all from a channel to a group.
This commit is contained in:
parent
a7c9a1ab34
commit
d1b9785d31
|
@ -737,7 +737,7 @@ bool HistoryItem::suggestDeleteAllReport() const {
|
||||||
if (!channel || !channel->canDeleteMessages()) {
|
if (!channel || !channel->canDeleteMessages()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return !isPost() && !out() && from()->isUser();
|
return !isPost() && !out();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool HistoryItem::hasDirectLink() const {
|
bool HistoryItem::hasDirectLink() const {
|
||||||
|
|
Loading…
Reference in New Issue