mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix build on Windows.
This commit is contained in:
parent
b634ebab78
commit
eb6afdf438
2 changed files with 2 additions and 0 deletions
|
@ -651,6 +651,7 @@ PeerData *ParticipantsAdditionalData::applyParticipant(
|
||||||
case Api::ChatParticipant::Type::Left:
|
case Api::ChatParticipant::Type::Left:
|
||||||
return logBad();
|
return logBad();
|
||||||
};
|
};
|
||||||
|
Unexpected("Api::ChatParticipant::type in applyParticipant.");
|
||||||
}
|
}
|
||||||
|
|
||||||
UserData *ParticipantsAdditionalData::applyCreator(
|
UserData *ParticipantsAdditionalData::applyCreator(
|
||||||
|
|
|
@ -527,6 +527,7 @@ auto GenerateParticipantChangeText(
|
||||||
case Api::ChatParticipant::Type::Member:
|
case Api::ChatParticipant::Type::Member:
|
||||||
return generateOther(peerId);
|
return generateOther(peerId);
|
||||||
};
|
};
|
||||||
|
Unexpected("Participant type in GenerateParticipantChangeText.");
|
||||||
}();
|
}();
|
||||||
|
|
||||||
result.entities.push_front(
|
result.entities.push_front(
|
||||||
|
|
Loading…
Add table
Reference in a new issue