Rename some protos.

This commit is contained in:
Greyson Parrelli
2023-07-13 13:08:07 -04:00
committed by Nicholas Tinsley
parent 1af50ba0f5
commit 8fc1065dd6
24 changed files with 177 additions and 184 deletions

View File

@@ -99,9 +99,9 @@ class SignalClient {
val encryptedContent: ByteArray = Base64.decode(outgoingPushMessage.content)
return SignalServiceProtos.Envelope.newBuilder()
.setSourceUuid(serviceId.toString())
.setSourceServiceId(serviceId.toString())
.setSourceDevice(1)
.setDestinationUuid(to.serviceId.toString())
.setDestinationServiceId(to.serviceId.toString())
.setTimestamp(sentTimestamp)
.setServerTimestamp(sentTimestamp)
.setServerGuid(UUID.randomUUID().toString())
@@ -132,9 +132,9 @@ class SignalClient {
val encryptedContent: ByteArray = Base64.decode(outgoingPushMessage.content)
return SignalServiceProtos.Envelope.newBuilder()
.setSourceUuid(serviceId.toString())
.setSourceServiceId(serviceId.toString())
.setSourceDevice(1)
.setDestinationUuid(to.serviceId.toString())
.setDestinationServiceId(to.serviceId.toString())
.setTimestamp(sentTimestamp)
.setServerTimestamp(sentTimestamp)
.setServerGuid(UUID.randomUUID().toString())