fix: compile errors from moving keypair out of ClosedGroupsProtocolV2

This commit is contained in:
jubb
2021-02-05 10:27:24 +11:00
parent 99175ad69b
commit ba5431b806
3 changed files with 4 additions and 4 deletions

View File

@@ -118,7 +118,7 @@ class ClosedGroupControlMessage() : ControlMessage() {
closedGroupUpdate.type = SignalServiceProtos.ClosedGroupUpdateV2.Type.NEW
closedGroupUpdate.publicKey = kind.publicKey
closedGroupUpdate.name = kind.name
val encryptionKeyPairAsProto = SignalServiceProtos.ClosedGroupUpdateV2.KeyPair.newBuilder()
val encryptionKeyPairAsProto = SignalServiceProtos.KeyPair.newBuilder()
encryptionKeyPairAsProto.publicKey = ByteString.copyFrom(kind.encryptionKeyPair.publicKey.serialize())
encryptionKeyPairAsProto.privateKey = ByteString.copyFrom(kind.encryptionKeyPair.privateKey.serialize())