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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user