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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user