Skip to content

Commit

Permalink
Add id to CallLink recipient
Browse files Browse the repository at this point in the history
  • Loading branch information
marissa-signal authored Nov 4, 2024
1 parent d7b90d8 commit e0088ac
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/kotlin/StandardFrames.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
Binary file modified test-cases/ad_hoc_call_00.binproto
Binary file not shown.
2 changes: 2 additions & 0 deletions test-cases/ad_hoc_call_00.txtproto
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,14 @@ Frame {
restrictions = Restrictions.NONE
rootKey = <000102030405060708090a0b0c0d0e0f>
}
id = 11
}
}

Frame {
adHocCall = AdHocCall {
callId = 5069471078380689193
recipientId = 11
state = State.GENERIC
}
}
Binary file modified test-cases/ad_hoc_call_01.binproto
Binary file not shown.
2 changes: 2 additions & 0 deletions test-cases/ad_hoc_call_01.txtproto
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,15 @@ Frame {
restrictions = Restrictions.NONE
rootKey = <000102030405060708090a0b0c0d0e0f>
}
id = 11
}
}

Frame {
adHocCall = AdHocCall {
callId = 7829309874007127440
callTimestamp = 1739546236831
recipientId = 11
state = State.GENERIC
}
}
Binary file modified test-cases/ad_hoc_call_02.binproto
Binary file not shown.
2 changes: 2 additions & 0 deletions test-cases/ad_hoc_call_02.txtproto
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,15 @@ Frame {
restrictions = Restrictions.NONE
rootKey = <000102030405060708090a0b0c0d0e0f>
}
id = 11
}
}

Frame {
adHocCall = AdHocCall {
callId = 6079152038928072180
callTimestamp = 1660152710755
recipientId = 11
state = State.GENERIC
}
}

0 comments on commit e0088ac

Please sign in to comment.