2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fix build in Xcode.

This commit is contained in:
John Preston
2019-07-19 17:39:36 +02:00
parent 27f248645c
commit 4fd50cfb70
4 changed files with 17 additions and 15 deletions

View File

@@ -1637,7 +1637,7 @@ void ConnectionPrivate::handleReceived() {
}
ConnectionPrivate::HandleResult ConnectionPrivate::handleOneReceived(const mtpPrime *from, const mtpPrime *end, uint64 msgId, int32 serverTime, uint64 serverSalt, bool badTime) {
const auto cons = *from;
const auto cons = mtpTypeId(*from);
switch (cons) {