mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +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();
|
const auto actionText = link->copyToClipboardContextItemText();
|
||||||
if (!actionText.isEmpty()) {
|
if (!actionText.isEmpty()) {
|
||||||
_contextMenu->addAction(
|
_contextMenu->addAction(
|
||||||
|
Reference in New Issue
Block a user