2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Add export to JSON.

This commit is contained in:
John Preston
2018-06-21 21:42:50 +01:00
parent d056c00c67
commit b5a65a4519
6 changed files with 952 additions and 14 deletions

View File

@@ -696,7 +696,7 @@ Result TextWriter::writeLeftChannelEnd() {
}
Result TextWriter::writeLeftChannelsEnd() {
return Result::Success();
return writeChatsEnd();
}
Result TextWriter::writeChatsStart(
@@ -768,7 +768,7 @@ Result TextWriter::writeChatEnd() {
case Type::PrivateGroup: return "Private group";
case Type::PublicGroup: return "Public group";
case Type::PrivateChannel: return "Private channel";
case Type::PublicChannel: return "Private channel";
case Type::PublicChannel: return "Public channel";
}
Unexpected("Dialog type in TypeString.");
};