Remove epochs from Call Link test cases
This commit is contained in:
parent
b522c03965
commit
f8bb14fe4d
@ -28,8 +28,7 @@ object RecipientCallLinkTestCase : TestCase("recipient_call_link") {
|
||||
adminKey = someNullableBytes(32)?.toByteString(),
|
||||
name = someString(),
|
||||
restrictions = someEnum(CallLink.Restrictions::class.java),
|
||||
expirationMs = some(Generators.expirationTimersMs().map { Instant.ofEpochMilli(it).truncatedTo(ChronoUnit.DAYS).toEpochMilli() }),
|
||||
epoch = someNullableBytes(4)?.toByteString()
|
||||
expirationMs = some(Generators.expirationTimersMs().map { Instant.ofEpochMilli(it).truncatedTo(ChronoUnit.DAYS).toEpochMilli() })
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
@ -407,7 +407,7 @@ message CallLink {
|
||||
string name = 3;
|
||||
Restrictions restrictions = 4;
|
||||
uint64 expirationMs = 5;
|
||||
optional bytes epoch = 6; // May be absent/empty for older links
|
||||
reserved /*epoch*/ 6;
|
||||
}
|
||||
|
||||
message AdHocCall {
|
||||
@ -1432,4 +1432,4 @@ message ChatFolder {
|
||||
repeated uint64 includedRecipientIds = 7; // generated recipient id of groups, contacts, and/or note to self
|
||||
repeated uint64 excludedRecipientIds = 8; // generated recipient id of groups, contacts, and/or note to self
|
||||
bytes id = 9; // should be 16 bytes
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
@ -112,7 +112,6 @@ Frame {
|
||||
recipient = Recipient {
|
||||
callLink = CallLink {
|
||||
adminKey = <e77bcc2f537f0b02efe86030ac2c315346a8f5dcc0a79602f9a51310c8eed988>
|
||||
epoch = <761a278e>
|
||||
expirationMs = 1197072000000
|
||||
name = "QSvJcbzG"
|
||||
restrictions = Restrictions.NONE
|
||||
|
||||
Binary file not shown.
@ -112,7 +112,6 @@ Frame {
|
||||
recipient = Recipient {
|
||||
callLink = CallLink {
|
||||
adminKey = <e77bcc2f537f0b02efe86030ac2c315346a8f5dcc0a79602f9a51310c8eed988>
|
||||
epoch = <761a278e>
|
||||
name = ""
|
||||
restrictions = Restrictions.UNKNOWN
|
||||
rootKey = <2cc2b48c50aefe53b3974ed91e6b4ea9>
|
||||
|
||||
Binary file not shown.
@ -112,7 +112,6 @@ Frame {
|
||||
recipient = Recipient {
|
||||
callLink = CallLink {
|
||||
adminKey = <e77bcc2f537f0b02efe86030ac2c315346a8f5dcc0a79602f9a51310c8eed988>
|
||||
epoch = <761a278e>
|
||||
expirationMs = 1587945600000
|
||||
name = "SDTsXBkoG"
|
||||
restrictions = Restrictions.ADMIN_APPROVAL
|
||||
|
||||
Binary file not shown.
@ -112,7 +112,6 @@ Frame {
|
||||
recipient = Recipient {
|
||||
callLink = CallLink {
|
||||
adminKey = <e77bcc2f537f0b02efe86030ac2c315346a8f5dcc0a79602f9a51310c8eed988>
|
||||
epoch = <761a278e>
|
||||
expirationMs = 1197072000000
|
||||
name = "QSvJcbzG"
|
||||
restrictions = Restrictions.NONE
|
||||
|
||||
Binary file not shown.
@ -112,7 +112,6 @@ Frame {
|
||||
recipient = Recipient {
|
||||
callLink = CallLink {
|
||||
adminKey = <e77bcc2f537f0b02efe86030ac2c315346a8f5dcc0a79602f9a51310c8eed988>
|
||||
epoch = <761a278e>
|
||||
name = ""
|
||||
restrictions = Restrictions.UNKNOWN
|
||||
rootKey = <2cc2b48c50aefe53b3974ed91e6b4ea9>
|
||||
|
||||
Binary file not shown.
@ -112,7 +112,6 @@ Frame {
|
||||
recipient = Recipient {
|
||||
callLink = CallLink {
|
||||
adminKey = <e77bcc2f537f0b02efe86030ac2c315346a8f5dcc0a79602f9a51310c8eed988>
|
||||
epoch = <761a278e>
|
||||
expirationMs = 1587945600000
|
||||
name = "SDTsXBkoG"
|
||||
restrictions = Restrictions.ADMIN_APPROVAL
|
||||
|
||||
Binary file not shown.
@ -112,7 +112,6 @@ Frame {
|
||||
recipient = Recipient {
|
||||
callLink = CallLink {
|
||||
adminKey = <e77bcc2f537f0b02efe86030ac2c315346a8f5dcc0a79602f9a51310c8eed988>
|
||||
epoch = <761a278e>
|
||||
expirationMs = 1197072000000
|
||||
name = "QSvJcbzG"
|
||||
restrictions = Restrictions.NONE
|
||||
|
||||
Binary file not shown.
@ -112,7 +112,6 @@ Frame {
|
||||
recipient = Recipient {
|
||||
callLink = CallLink {
|
||||
adminKey = <e77bcc2f537f0b02efe86030ac2c315346a8f5dcc0a79602f9a51310c8eed988>
|
||||
epoch = <761a278e>
|
||||
name = ""
|
||||
restrictions = Restrictions.UNKNOWN
|
||||
rootKey = <2cc2b48c50aefe53b3974ed91e6b4ea9>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user