2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Added ability to open contacts with shortcut.

Fixed #8775.
This commit is contained in:
23rd
2020-10-07 21:06:22 +03:00
committed by John Preston
parent 367b028094
commit 7de9bcad03
3 changed files with 9 additions and 0 deletions

View File

@@ -3178,6 +3178,11 @@ void InnerWidget::setupShortcuts() {
return (history != nullptr);
});
request->check(Command::ShowContacts) && request->handle([=] {
Ui::show(PrepareContactsBox(_controller));
return true;
});
if (session().supportMode() && row.key.history()) {
request->check(
Command::SupportScrollToCurrent