mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
Scroll history to down when sharing contact.
This commit is contained in:
parent
ce9445287c
commit
6c38919c3d
1 changed files with 6 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue