2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

warnings fixed, 0.8.25.dev code for os x and linux

This commit is contained in:
John Preston
2015-06-15 20:36:16 +03:00
parent 9fee0ace4c
commit ec1d547f27
5 changed files with 12 additions and 7 deletions

View File

@@ -224,7 +224,7 @@ void UserData::setBotInfo(const MTPBotInfo &info) {
break;
case mtpc_botInfo: {
const MTPDbotInfo &d(info.c_botInfo());
if (d.vuser_id.v != id) return;
if (App::peerFromUser(d.vuser_id.v) != id) return;
if (botInfo) {
botInfo->version = d.vversion.v;