Skip to content

Commit ac145e6

Browse files
committed
Ignore destination if it's an empty uuid
Fixes #1643
1 parent f00b852 commit ac145e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/main/java/org/asamk/signal/manager/helper/IncomingMessageHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ private DeviceAddress getSender(SignalServiceEnvelope envelope, SignalServiceCon
962962

963963
private DeviceAddress getDestination(SignalServiceEnvelope envelope) {
964964
final var destination = envelope.getDestinationServiceId();
965-
if (destination == null) {
965+
if (destination == null || destination.isUnknown()) {
966966
return new DeviceAddress(account.getSelfRecipientId(), account.getAci(), account.getDeviceId());
967967
}
968968
return new DeviceAddress(account.getRecipientResolver().resolveRecipient(destination),

0 commit comments

Comments
 (0)