2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

When following a post link push reply-return.

Fixes #4856.
This commit is contained in:
John Preston
2018-07-09 21:13:48 +03:00
parent eb3eef4b80
commit b697824540
25 changed files with 136 additions and 74 deletions

View File

@@ -70,8 +70,8 @@ PeerClickHandler::PeerClickHandler(not_null<PeerData*> peer)
: _peer(peer) {
}
void PeerClickHandler::onClick(Qt::MouseButton button) const {
if (button == Qt::LeftButton && App::wnd()) {
void PeerClickHandler::onClick(ClickContext context) const {
if (context.button == Qt::LeftButton && App::wnd()) {
auto controller = App::wnd()->controller();
if (_peer
&& _peer->isChannel()