mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Check noforwards of specific messages in shared media.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user