2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Added Shortcut to jump to the Saved Messages.

This commit is contained in:
23rd
2019-03-11 22:01:41 +03:00
committed by John Preston
parent ef682e7023
commit 6fe736c9fc
3 changed files with 9 additions and 0 deletions

View File

@@ -2915,6 +2915,10 @@ void DialogsInner::setupShortcuts() {
request->check(Command::ChatLast) && request->handle([=] {
return jumpToDialogRow(last);
});
request->check(Command::ChatSelf) && request->handle([] {
App::main()->choosePeer(Auth().userPeerId(), ShowAtUnreadMsgId);
return true;
});
static const auto kPinned = {
Command::ChatPinned1,