comments show-hide in channels

This commit is contained in:
John Preston
2015-09-19 12:13:21 +03:00
parent ab7a745a49
commit 56a63a5b10
28 changed files with 1762 additions and 738 deletions
+6
View File
@@ -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;