Skip to content

Commit

Permalink
Update Telegram/SourceFiles/export/output/export_output_json.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
23rd authored Sep 30, 2024
1 parent 6324970 commit 439cf6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Telegram/SourceFiles/export/output/export_output_json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -900,9 +900,9 @@ QByteArray SerializeMessage(
context.nesting.push_back(Context::kArray);
const auto guard = gsl::finally([&] { context.nesting.pop_back(); });
return SerializeObject(context, {
{"from", wrapPeerName(recent.peerId)},
{"from_id", wrapPeerId(recent.peerId)},
{"date", SerializeDate(recent.date)}
{ "from", wrapPeerName(recent.peerId) },
{ "from_id", wrapPeerId(recent.peerId) },
{ "date", SerializeDate(recent.date) },
});
}) | ranges::to_vector;
pairs.push_back({"recent", SerializeArray(context, recents)});
Expand Down

0 comments on commit 439cf6a

Please sign in to comment.