Skip to content

Commit

Permalink
Don't export a duplicate "text" field on star gift
Browse files Browse the repository at this point in the history
Fixes #28781
  • Loading branch information
flexagoon authored and john-preston committed Dec 21, 2024
1 parent 82e8907 commit cccf048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/export/output/export_output_json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ QByteArray SerializeMessage(
push("stars", data.stars);
push("is_limited", data.limited);
push("is_anonymous", data.anonymous);
pushBare("text", SerializeText(context, data.text));
pushBare("gift_text", SerializeText(context, data.text));
}, [](v::null_t) {});

if (v::is_null(message.action.content)) {
Expand Down

0 comments on commit cccf048

Please sign in to comment.