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

Update API scheme to layer 90.

This commit is contained in:
John Preston
2018-12-17 11:01:30 +04:00
parent 8b0e54a95c
commit 7960706e60
10 changed files with 60 additions and 24 deletions

View File

@@ -4387,19 +4387,6 @@ void MainWidget::feedUpdate(const MTPUpdate &update) {
}
} break;
case mtpc_updateContactRegistered: {
const auto &d = update.c_updateContactRegistered();
if (const auto user = App::userLoaded(d.vuser_id.v)) {
if (App::history(user->id)->loadedAtBottom()) {
App::history(user->id)->addNewService(
clientMsgId(),
d.vdate.v,
lng_action_user_registered(lt_from, user->name),
MTPDmessage::Flags(0));
}
}
} break;
case mtpc_updateContactLink: {
const auto &d = update.c_updateContactLink();
App::feedUserLink(d.vuser_id, d.vmy_link, d.vforeign_link);