fix: allow saving paid media

This commit is contained in:
AlexeyZavar 2025-07-06 18:09:54 +03:00
parent 5b08a1adfb
commit 48e961392d

View file

@ -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;
} }