Skip to content

Commit

Permalink
Ignore destination if it's an empty uuid
Browse files Browse the repository at this point in the history
Fixes #1643
  • Loading branch information
AsamK committed Dec 25, 2024
1 parent f00b852 commit ac145e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ private DeviceAddress getSender(SignalServiceEnvelope envelope, SignalServiceCon

private DeviceAddress getDestination(SignalServiceEnvelope envelope) {
final var destination = envelope.getDestinationServiceId();
if (destination == null) {
if (destination == null || destination.isUnknown()) {
return new DeviceAddress(account.getSelfRecipientId(), account.getAci(), account.getDeviceId());
}
return new DeviceAddress(account.getRecipientResolver().resolveRecipient(destination),
Expand Down

0 comments on commit ac145e6

Please sign in to comment.