2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

redrawHistoryItem moved to Ui, shared contact updates when is_contact changes

This commit is contained in:
John Preston
2015-12-13 14:17:15 +03:00
parent 2225abec5c
commit 6ec61d4ad6
14 changed files with 126 additions and 119 deletions

View File

@@ -235,7 +235,7 @@ void AddContactBox::onImportDone(const MTPcontacts_ImportedContacts &res) {
}
}
if (uid) {
App::main()->addNewContact(uid);
Notify::userIsContactChanged(App::userLoaded(peerFromUser(uid)), true);
Ui::hideLayer();
} else {
_save.hide();