2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Update API scheme to layer 198.

This commit is contained in:
John Preston
2025-01-09 11:24:54 +04:00
parent 37d32b32f8
commit d0132c0f7b
25 changed files with 251 additions and 114 deletions

View File

@@ -695,7 +695,7 @@ not_null<UserData*> Session::processUser(const MTPUser &data) {
if (const auto &status = data.vemoji_status()) {
result->setEmojiStatus(*status);
} else {
result->setEmojiStatus(0);
result->setEmojiStatus(EmojiStatusId());
}
if (!minimal) {
if (const auto botInfoVersion = data.vbot_info_version()) {
@@ -886,7 +886,7 @@ not_null<PeerData*> Session::processChat(const MTPChat &data) {
if (const auto &status = data.vemoji_status()) {
channel->setEmojiStatus(*status);
} else {
channel->setEmojiStatus(0);
channel->setEmojiStatus(EmojiStatusId());
}
if (minimal) {
if (channel->input.type() == mtpc_inputPeerEmpty