Scroll history to down when sharing contact.

This commit is contained in:
John Preston 2018-03-26 01:17:32 +04:00
parent ce9445287c
commit 6c38919c3d

View File

@ -3584,6 +3584,12 @@ void ApiWrap::sendSharedContact(
MTP_string(firstName),
MTP_string(lastName));
sendMedia(item, media, peer->notifySilentPosts());
if (const auto main = App::main()) {
_session->data().sendHistoryChangeNotifications();
main->historyToDown(history);
main->dialogsToUp();
}
}
void ApiWrap::sendVoiceMessage(