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

showPeerHistory moved to Ui namespace

This commit is contained in:
John Preston
2015-12-13 14:36:08 +03:00
parent 6ec61d4ad6
commit f6fec9a619
15 changed files with 75 additions and 71 deletions

View File

@@ -1139,7 +1139,7 @@ void SettingsInner::supportGot(const MTPhelp_Support &support) {
if (support.type() == mtpc_help_support) {
const MTPDhelp_support &d(support.c_help_support());
UserData *u = App::feedUsers(MTP_vector<MTPUser>(1, d.vuser));
App::main()->showPeerHistory(u->id, ShowAtUnreadMsgId);
Ui::showPeerHistory(u, ShowAtUnreadMsgId);
App::wnd()->hideSettings();
}
}