Skip to content

Commit

Permalink
fix: forgot pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis committed Sep 23, 2024
1 parent 6115edd commit 78d8d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dpp/message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1417,7 +1417,7 @@ message& message::fill_from_json(json* d, cache_policy_t cp) {

if (message_reference.type == mrt_forward) {
for (auto& e : (*d)["message_snapshots"]) {
message_snapshots.messages.emplace_back(message().fill_from_json(e["message"], cp));
message_snapshots.messages.emplace_back(message().fill_from_json(&(e["message"]), cp));
}
}
}
Expand Down

0 comments on commit 78d8d11

Please sign in to comment.