2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Create private channel post links.

This commit is contained in:
John Preston
2019-04-04 14:02:22 +04:00
parent 73470c3a95
commit 0744f43a0e
8 changed files with 33 additions and 35 deletions

View File

@@ -5781,14 +5781,6 @@ void HistoryWidget::onPinnedHide() {
}
}
void HistoryWidget::copyPostLink(FullMsgId itemId) {
if (const auto item = App::histItemById(itemId)) {
if (item->hasDirectLink()) {
QApplication::clipboard()->setText(item->directLink());
}
}
}
bool HistoryWidget::lastForceReplyReplied(const FullMsgId &replyTo) const {
if (replyTo.channel != _channel) {
return false;