2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

New profile buttons started, not performing actions yet.

New system of Observers. Subscriptions on PeerData updates.
This commit is contained in:
John Preston
2016-05-24 19:13:07 +03:00
parent 41b330c5ea
commit e3e49dbeb8
19 changed files with 792 additions and 36 deletions

View File

@@ -222,7 +222,8 @@ void AddContactBox::onImportDone(const MTPcontacts_ImportedContacts &res) {
if (isHidden() || !App::main()) return;
const auto &d(res.c_contacts_importedContacts());
App::feedUsers(d.vusers);
App::feedUsers(d.vusers, false);
App::emitPeerUpdated();
const auto &v(d.vimported.c_vector().v);
UserData *user = nullptr;