mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 13:58:04 +01:00
Drop the legacy message and relay fields from message entities
This commit is contained in:
committed by
Jon Chambers
parent
06a57ef811
commit
53f17c2baa
@@ -326,18 +326,10 @@ public class WebSocketConnection implements MessageAvailabilityListener, Displac
|
||||
}
|
||||
}
|
||||
|
||||
if (message.getMessage() != null) {
|
||||
builder.setLegacyMessage(ByteString.copyFrom(message.getMessage()));
|
||||
}
|
||||
|
||||
if (message.getContent() != null) {
|
||||
builder.setContent(ByteString.copyFrom(message.getContent()));
|
||||
}
|
||||
|
||||
if (message.getRelay() != null && !message.getRelay().isEmpty()) {
|
||||
builder.setRelay(message.getRelay());
|
||||
}
|
||||
|
||||
builder.setDestinationUuid(message.getDestinationUuid().toString());
|
||||
|
||||
builder.setServerGuid(message.getGuid().toString());
|
||||
|
||||
Reference in New Issue
Block a user