Fix storage location serialization.

This commit is contained in:
John Preston 2019-05-30 18:04:18 +03:00
parent 56d3e69399
commit b012847017
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ QByteArray StorageFileLocation::serialize() const {
stream.setVersion(QDataStream::Qt_5_1); stream.setVersion(QDataStream::Qt_5_1);
stream stream
<< quint16(_dcId) << quint16(_dcId)
<< (kSerializeTypeShift | quint8(_type)) << quint8(kSerializeTypeShift | quint8(_type))
<< quint8(_sizeLetter) << quint8(_sizeLetter)
<< qint32(_localId) << qint32(_localId)
<< quint64(_id) << quint64(_id)