mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-24 23:42:58 +00:00
Scroll history to down when sharing contact.
This commit is contained in:
parent
ce9445287c
commit
6c38919c3d
@ -3584,6 +3584,12 @@ void ApiWrap::sendSharedContact(
|
|||||||
MTP_string(firstName),
|
MTP_string(firstName),
|
||||||
MTP_string(lastName));
|
MTP_string(lastName));
|
||||||
sendMedia(item, media, peer->notifySilentPosts());
|
sendMedia(item, media, peer->notifySilentPosts());
|
||||||
|
|
||||||
|
if (const auto main = App::main()) {
|
||||||
|
_session->data().sendHistoryChangeNotifications();
|
||||||
|
main->historyToDown(history);
|
||||||
|
main->dialogsToUp();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ApiWrap::sendVoiceMessage(
|
void ApiWrap::sendVoiceMessage(
|
||||||
|
Loading…
Reference in New Issue
Block a user