mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Fixed ability to copy shared links for channels with select restriction.
Fixed #28492.
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user