mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 22:57:11 +02:00
Check noforwards of specific messages in shared media.
This commit is contained in:
parent
ecca60afe4
commit
a15ef8bbc2
1 changed files with 1 additions and 1 deletions
|
@ -1643,7 +1643,7 @@ void ListWidget::showContextMenu(
|
|||
document,
|
||||
DocumentSaveClickHandler::Mode::ToNewFile);
|
||||
});
|
||||
if (_peer->allowsForwarding()) {
|
||||
if (_peer->allowsForwarding() && !item->forbidsForward()) {
|
||||
_contextMenu->addAction(
|
||||
(isVideo
|
||||
? tr::lng_context_save_video(tr::now)
|
||||
|
|
Loading…
Add table
Reference in a new issue