version 0.8.29.dev with some more improvements

This commit is contained in:
John Preston
2015-06-22 11:51:39 +03:00
parent fd1cbb45f2
commit 607169cbda
20 changed files with 321 additions and 160 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ void UserData::setBotInfo(const MTPBotInfo &info) {
botInfo->commands.reserve(v.size());
for (int32 i = 0, l = v.size(); i < l; ++i) {
if (v.at(i).type() == mtpc_botCommand) {
botInfo->commands.push_back(BotCommand(qs(v.at(i).c_botCommand().vcommand), qs(v.at(i).c_botCommand().vparams), qs(v.at(i).c_botCommand().vdescription)));
botInfo->commands.push_back(BotCommand(qs(v.at(i).c_botCommand().vcommand), qs(v.at(i).c_botCommand().vdescription)));
}
}