mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-26 23:43:06 +02:00
fix: allow saving paid media
This commit is contained in:
parent
5b08a1adfb
commit
48e961392d
1 changed files with 2 additions and 2 deletions
|
@ -2515,9 +2515,9 @@ bool HistoryItem::forbidsForward() const {
|
|||
bool HistoryItem::forbidsSaving() const {
|
||||
if (forbidsForward()) {
|
||||
return true;
|
||||
} else if (const auto invoice = _media ? _media->invoice() : nullptr) {
|
||||
}/* else if (const auto invoice = _media ? _media->invoice() : nullptr) {
|
||||
return HasExtendedMedia(*invoice);
|
||||
}
|
||||
}*/
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue