Skip to content

Commit

Permalink
Support receiving unidentified messages for dbus
Browse files Browse the repository at this point in the history
  • Loading branch information
AsamK committed Nov 11, 2019
1 parent df81911 commit 89552f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static void sendReceivedMessageToDbus(SignalServiceEnvelope envelope, SignalServ
conn.sendSignal(new Signal.MessageReceived(
objectPath,
message.getTimestamp(),
envelope.getSource(),
envelope.isUnidentifiedSender() ? content.getSender() : envelope.getSource(),
message.getGroupInfo().isPresent() ? message.getGroupInfo().get().getGroupId() : new byte[0],
message.getBody().isPresent() ? message.getBody().get() : "",
attachments));
Expand Down

0 comments on commit 89552f9

Please sign in to comment.