mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
fixed pinned message display if input field is hidden, fixed pinned message remove, removed copy post link context menu item from public supergroup messages
This commit is contained in:
@@ -1097,7 +1097,7 @@ public:
|
||||
bool canEdit(const QDateTime &cur) const;
|
||||
|
||||
bool hasDirectLink() const {
|
||||
return id > 0 && _history->peer->isChannel() && _history->peer->asChannel()->isPublic();
|
||||
return id > 0 && _history->peer->isChannel() && _history->peer->asChannel()->isPublic() && !_history->peer->isMegagroup();
|
||||
}
|
||||
QString directLink() const {
|
||||
return hasDirectLink() ? qsl("https://telegram.me/") + _history->peer->asChannel()->username + '/' + QString::number(id) : QString();
|
||||
|
Reference in New Issue
Block a user