mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-27 07:52:57 +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 {
|
bool HistoryItem::forbidsSaving() const {
|
||||||
if (forbidsForward()) {
|
if (forbidsForward()) {
|
||||||
return true;
|
return true;
|
||||||
} else if (const auto invoice = _media ? _media->invoice() : nullptr) {
|
}/* else if (const auto invoice = _media ? _media->invoice() : nullptr) {
|
||||||
return HasExtendedMedia(*invoice);
|
return HasExtendedMedia(*invoice);
|
||||||
}
|
}*/
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue