mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Added ability to go to message from Calls box.
This commit is contained in:
@@ -572,6 +572,11 @@ base::unique_qptr<Ui::PopupMenu> BoxController::rowContextMenu(
|
||||
_window->show(
|
||||
Box<DeleteMessagesBox>(session, base::duplicate(ids)));
|
||||
}, &st::menuIconDelete);
|
||||
result->addAction(tr::lng_context_to_msg(tr::now), [=, window = _window] {
|
||||
if (const auto item = session->data().message(ids.front())) {
|
||||
window->showMessage(item);
|
||||
}
|
||||
}, &st::menuIconShowInChat);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user