mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Scroll history to down when sharing contact.
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user