mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix empty chats assertion violation.
This commit is contained in:
parent
1e10529f20
commit
51189fd244
1 changed files with 3 additions and 3 deletions
|
@ -869,9 +869,9 @@ Result TextWriter::writeChatEnd() {
|
||||||
}
|
}
|
||||||
|
|
||||||
Result TextWriter::writeChatsEnd() {
|
Result TextWriter::writeChatsEnd() {
|
||||||
Expects(_chats != nullptr);
|
if (_chats) {
|
||||||
|
_chats = nullptr;
|
||||||
_chats = nullptr;
|
}
|
||||||
return Result::Success();
|
return Result::Success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue