mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 15:28:05 +01:00
Add support for setting PNI-associated registration IDs and identity keys when changing numbers
This commit is contained in:
@@ -333,8 +333,13 @@ public class WebSocketConnection implements MessageAvailabilityListener, Displac
|
||||
|
||||
builder.setDestinationUuid(message.getDestinationUuid().toString());
|
||||
|
||||
if (message.getUpdatedPni() != null) {
|
||||
builder.setUpdatedPni(message.getUpdatedPni().toString());
|
||||
}
|
||||
|
||||
builder.setServerGuid(message.getGuid().toString());
|
||||
|
||||
|
||||
final Envelope envelope = builder.build();
|
||||
|
||||
if (envelope.getSerializedSize() > MAX_DESKTOP_MESSAGE_SIZE && isDesktopClient) {
|
||||
|
||||
Reference in New Issue
Block a user