Remove null-check of destination UUID

This commit is contained in:
Chris Eager
2021-12-16 12:00:41 -08:00
committed by Chris Eager
parent 867bf97d8f
commit 346c7cd743

View File

@@ -313,10 +313,7 @@ public class WebSocketConnection implements MessageAvailabilityListener, Displac
builder.setRelay(message.getRelay());
}
// TODO Destination UUIDs will be present for all messages after 2021-12-16
if (message.getDestinationUuid() != null) {
builder.setDestinationUuid(message.getDestinationUuid().toString());
}
builder.setDestinationUuid(message.getDestinationUuid().toString());
builder.setServerGuid(message.getGuid().toString());