mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
comments show-hide in channels
This commit is contained in:
@@ -902,6 +902,12 @@ void MessageLink::onClick(Qt::MouseButton button) const {
|
||||
}
|
||||
}
|
||||
|
||||
void CommentsLink::onClick(Qt::MouseButton button) const {
|
||||
if (button == Qt::LeftButton && App::main() && _item->history()->isChannel()) {
|
||||
App::main()->showPeerHistory(_item->history()->peer->id, _item->id);
|
||||
}
|
||||
}
|
||||
|
||||
MsgId clientMsgId() {
|
||||
static MsgId current = -2000000000;
|
||||
return ++current;
|
||||
|
||||
Reference in New Issue
Block a user