Skip to content

Commit

Permalink
Interpret non-present message bodies as 'null'.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyson-signal committed Apr 21, 2020
1 parent b3d57ed commit 7c44286
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ private static SignalServiceDataMessage createSignalServiceMessage(SignalService
return new SignalServiceDataMessage(metadata.getTimestamp(),
groupInfoV1, groupInfoV2,
attachments,
content.getBody(),
content.hasBody() ? content.getBody() : null,
endSession,
content.getExpireTimer(),
expirationUpdate,
Expand Down

0 comments on commit 7c44286

Please sign in to comment.