Skip to content

Commit

Permalink
Fixed ability to copy shared links for channels with select restriction.
Browse files Browse the repository at this point in the history
Fixed #28492.
  • Loading branch information
23rd authored and john-preston committed Oct 14, 2024
1 parent c5add2f commit b64c610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/info/media/info_media_list_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ void ListWidget::showContextMenu(
}
}
}
} else if (link) {
} else if (link && !_provider->hasSelectRestriction()) {
const auto actionText = link->copyToClipboardContextItemText();
if (!actionText.isEmpty()) {
_contextMenu->addAction(
Expand Down

0 comments on commit b64c610

Please sign in to comment.