2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Check some more App::main()s.

This commit is contained in:
John Preston
2020-06-11 20:33:15 +04:00
parent 0ad7dcaef9
commit b0f9ad71dd
15 changed files with 91 additions and 57 deletions

View File

@@ -246,7 +246,8 @@ void BlockedBoxController::loadMoreRows() {
}
void BlockedBoxController::rowClicked(not_null<PeerListRow*> row) {
InvokeQueued(App::main(), [peerId = row->peer()->id] {
const auto peer = row->peer();
crl::on_main(&peer->session(), [peerId = peer->id] {
Ui::showPeerHistory(peerId, ShowAtUnreadMsgId);
});
}