From e0088ac79cca69713e6f8cd9cfca81bc65ed479d Mon Sep 17 00:00:00 2001 From: Marissa Le Coz <129999395+marissa-signal@users.noreply.github.com> Date: Mon, 4 Nov 2024 11:10:46 -0500 Subject: [PATCH] Add id to CallLink recipient --- src/main/kotlin/StandardFrames.kt | 1 + test-cases/ad_hoc_call_00.binproto | Bin 417 -> 421 bytes test-cases/ad_hoc_call_00.txtproto | 2 ++ test-cases/ad_hoc_call_01.binproto | Bin 424 -> 428 bytes test-cases/ad_hoc_call_01.txtproto | 2 ++ test-cases/ad_hoc_call_02.binproto | Bin 424 -> 428 bytes test-cases/ad_hoc_call_02.txtproto | 2 ++ 7 files changed, 7 insertions(+) diff --git a/src/main/kotlin/StandardFrames.kt b/src/main/kotlin/StandardFrames.kt index 1e29344..3cc0e93 100644 --- a/src/main/kotlin/StandardFrames.kt +++ b/src/main/kotlin/StandardFrames.kt @@ -256,6 +256,7 @@ object StandardFrames { val recipientCallLink = Frame( recipient = Recipient( + id = 11, callLink = CallLink( rootKey = ByteArray(16) { pos -> pos.toByte() }.toByteString(), adminKey = ByteArray(32) { 1 }.toByteString(), diff --git a/test-cases/ad_hoc_call_00.binproto b/test-cases/ad_hoc_call_00.binproto index 80fc79cc364ef8c8ce36e1b928386dbb958ac64b..ef6427e566f8acbecdbcac59f853b99f2b9842d0 100644 GIT binary patch delta 35 rcmZ3;yp(x^J0q))kQWE{WG_Y!K>;H^j+N{Fo`1Ax##%Q4ZV5&Jw&@D` delta 31 ncmZ3=ypVZ=J0r7~kjG>nMh|{IBOZ>G>;9g9v}nd!Hwi`nn9mBr diff --git a/test-cases/ad_hoc_call_00.txtproto b/test-cases/ad_hoc_call_00.txtproto index 51dc477..ca02ca2 100644 --- a/test-cases/ad_hoc_call_00.txtproto +++ b/test-cases/ad_hoc_call_00.txtproto @@ -98,12 +98,14 @@ Frame { restrictions = Restrictions.NONE rootKey = <000102030405060708090a0b0c0d0e0f> } + id = 11 } } Frame { adHocCall = AdHocCall { callId = 5069471078380689193 + recipientId = 11 state = State.GENERIC } } \ No newline at end of file diff --git a/test-cases/ad_hoc_call_01.binproto b/test-cases/ad_hoc_call_01.binproto index 88edcb3abc81cab7de2fc329c707a7cef29a1dd9..cd678780b5727914133decaee3b2bb55895a7c92 100644 GIT binary patch delta 42 zcmV+_0M-Af1FQqEM*#&)5=saQlS%0NMYn1E>SAM*#y$5=fIw0Z0}VG7|`p>zt*P`_j{F7y%%kucWBZGWIhL%m4rY diff --git a/test-cases/ad_hoc_call_01.txtproto b/test-cases/ad_hoc_call_01.txtproto index 0f75086..c52dacb 100644 --- a/test-cases/ad_hoc_call_01.txtproto +++ b/test-cases/ad_hoc_call_01.txtproto @@ -98,6 +98,7 @@ Frame { restrictions = Restrictions.NONE rootKey = <000102030405060708090a0b0c0d0e0f> } + id = 11 } } @@ -105,6 +106,7 @@ Frame { adHocCall = AdHocCall { callId = 7829309874007127440 callTimestamp = 1739546236831 + recipientId = 11 state = State.GENERIC } } \ No newline at end of file diff --git a/test-cases/ad_hoc_call_02.binproto b/test-cases/ad_hoc_call_02.binproto index ed53188fd68e4bd14f5cd35f7e90d5a3d46a5a99..2633261e7531060ebe67d3f317982bbcfda1c0d8 100644 GIT binary patch delta 42 zcmV+_0M-Af1FQqEM*#&)5=saQlS%0NMYn1E>SAM*#y$5=fIw0Z0}VG7|{&`lHaaW7y%&TjKIdIF#1{!`Tzg` diff --git a/test-cases/ad_hoc_call_02.txtproto b/test-cases/ad_hoc_call_02.txtproto index 92b5500..a2ed336 100644 --- a/test-cases/ad_hoc_call_02.txtproto +++ b/test-cases/ad_hoc_call_02.txtproto @@ -98,6 +98,7 @@ Frame { restrictions = Restrictions.NONE rootKey = <000102030405060708090a0b0c0d0e0f> } + id = 11 } } @@ -105,6 +106,7 @@ Frame { adHocCall = AdHocCall { callId = 6079152038928072180 callTimestamp = 1660152710755 + recipientId = 11 state = State.GENERIC } } \ No newline at end of file