2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Use getters in MTP classes.

This commit is contained in:
John Preston
2019-07-05 15:38:38 +02:00
parent 3ca28c0cf9
commit 567bf60644
100 changed files with 2807 additions and 2672 deletions

View File

@@ -104,10 +104,10 @@ void Changelogs::requestCloudLogs() {
resultEmpty = false;
break;
case mtpc_updatesCombined:
resultEmpty = result.c_updatesCombined().vupdates.v.isEmpty();
resultEmpty = result.c_updatesCombined().vupdates().v.isEmpty();
break;
case mtpc_updates:
resultEmpty = result.c_updates().vupdates.v.isEmpty();
resultEmpty = result.c_updates().vupdates().v.isEmpty();
break;
case mtpc_updatesTooLong:
case mtpc_updateShortSentMessage: