Skip to content

Commit

Permalink
comm/iridium/PlainTextReportMessage: Setting timestamp and src for th…
Browse files Browse the repository at this point in the history
…e generated imc message.
  • Loading branch information
paulosousadias committed Jan 20, 2025
1 parent 081411c commit 07a0351
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ public int deserializeFields(IMCInputStream in) throws Exception {
@Override
public Collection<IMCMessage> asImc() {
List<IMCMessage> msgs = new ArrayList<>();
msgs.add(new TextMessage("iridium", report));
TextMessage msg = new TextMessage("iridium", report);
msg.setSrc(source);
msg.setTimestampMillis(timestampMillis);
msgs.add(msg);
return msgs;
}

Expand Down

0 comments on commit 07a0351

Please sign in to comment.