mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
Fix serializing peers.
This commit is contained in:
parent
13d0d15a50
commit
0e1a445614
1 changed files with 2 additions and 1 deletions
|
@ -277,7 +277,8 @@ QByteArray StorageFileLocation::serialize() const {
|
|||
|
||||
Assert(!(quint8(_type) & kModernLocationFlag)
|
||||
&& !(quint8(_type) & kInMessageFieldsFlag));
|
||||
auto typeWithFlags = quint8(_type) | kModernLocationFlag;
|
||||
auto typeWithFlags = quint8(_type);
|
||||
typeWithFlags |= kModernLocationFlag;
|
||||
auto field1 = qint32(_localId);
|
||||
auto field2 = qint32(0);
|
||||
if (_inMessagePeerId != 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue