mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
fix: allow saving paid media
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user