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