mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-09-04 11:03:14 +02:00
fix: AyuForward with TTL
This commit is contained in:
parent
e6b0c61d78
commit
61559a979a
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ bool isAyuForwardNeeded(const std::vector<not_null<HistoryItem*>> &items) {
|
|||
}
|
||||
|
||||
bool isAyuForwardNeeded(not_null<HistoryItem*> item) {
|
||||
if (item->isDeleted() || item->isAyuNoForwards() || item->ttlDestroyAt()) {
|
||||
if (item->isDeleted() || item->isAyuNoForwards() || item->unsupportedTTL()) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue