NotificationProfile: Add new id field
This commit is contained in:
parent
abdea123d1
commit
29023d042c
@ -8,6 +8,7 @@ import StandardFrames
|
||||
import TestCase
|
||||
import asList
|
||||
import nullable
|
||||
import okio.ByteString.Companion.toByteString
|
||||
import org.thoughtcrime.securesms.backup.v2.proto.Frame
|
||||
import org.thoughtcrime.securesms.backup.v2.proto.NotificationProfile
|
||||
|
||||
@ -59,7 +60,8 @@ object NotificationProfileTestCase : TestCase("notification_profile") {
|
||||
scheduleStartTime = some(ScheduleTimeGenerator()),
|
||||
scheduleEndTime = some(ScheduleTimeGenerator()),
|
||||
scheduleDaysEnabled = some(scheduleDaysGenerator.asList(0, 1, 2, 3, 4, 5, 6, 7)),
|
||||
allowedMembers = some(allowedMembersGenerator)
|
||||
allowedMembers = some(allowedMembersGenerator),
|
||||
id = someBytes(16).toByteString()
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
@ -1291,6 +1291,7 @@ message NotificationProfile {
|
||||
uint32 scheduleStartTime = 9; // 24-hour clock int, 0000-2359 (e.g., 15, 900, 1130, 2345)
|
||||
uint32 scheduleEndTime = 10; // 24-hour clock int, 0000-2359 (e.g., 15, 900, 1130, 2345)
|
||||
repeated DayOfWeek scheduleDaysEnabled = 11;
|
||||
bytes id = 12;
|
||||
}
|
||||
|
||||
message ChatFolder {
|
||||
|
||||
Binary file not shown.
@ -193,6 +193,7 @@ Frame {
|
||||
allowAllCalls = true
|
||||
allowAllMentions = true
|
||||
color = -1842178
|
||||
id = <2faf620c7229690068c4b09c566976e5>
|
||||
name = "Ut Cubilia"
|
||||
scheduleEnabled = true
|
||||
scheduleEndTime = 434
|
||||
|
||||
Binary file not shown.
@ -196,6 +196,7 @@ Frame {
|
||||
color = -2234372
|
||||
createdAtMs = 1905721875752
|
||||
emoji = "💀"
|
||||
id = <2faf620c7229690068c4b09c566976e5>
|
||||
name = "Congue Fastidii"
|
||||
scheduleDaysEnabled = [
|
||||
DayOfWeek.MONDAY
|
||||
|
||||
Binary file not shown.
@ -199,6 +199,7 @@ Frame {
|
||||
color = -2561808
|
||||
createdAtMs = 1894221577852
|
||||
emoji = "👍"
|
||||
id = <2faf620c7229690068c4b09c566976e5>
|
||||
name = "Morbi Dicat"
|
||||
scheduleDaysEnabled = [
|
||||
DayOfWeek.TUESDAY,
|
||||
|
||||
Binary file not shown.
@ -197,6 +197,7 @@ Frame {
|
||||
]
|
||||
color = -3283763
|
||||
emoji = "👎"
|
||||
id = <2faf620c7229690068c4b09c566976e5>
|
||||
name = "Ut Cubilia"
|
||||
scheduleDaysEnabled = [
|
||||
DayOfWeek.THURSDAY,
|
||||
|
||||
Binary file not shown.
@ -195,6 +195,7 @@ Frame {
|
||||
color = -1384200
|
||||
createdAtMs = 1905721875752
|
||||
emoji = "👍🏾"
|
||||
id = <2faf620c7229690068c4b09c566976e5>
|
||||
name = "Congue Fastidii"
|
||||
scheduleDaysEnabled = [
|
||||
DayOfWeek.SUNDAY,
|
||||
|
||||
Binary file not shown.
@ -196,6 +196,7 @@ Frame {
|
||||
color = -662530
|
||||
createdAtMs = 1894221577852
|
||||
emoji = "👩💻"
|
||||
id = <2faf620c7229690068c4b09c566976e5>
|
||||
name = "Morbi Dicat"
|
||||
scheduleDaysEnabled = [
|
||||
DayOfWeek.THURSDAY,
|
||||
|
||||
Binary file not shown.
@ -197,6 +197,7 @@ Frame {
|
||||
10
|
||||
]
|
||||
color = -599828
|
||||
id = <2faf620c7229690068c4b09c566976e5>
|
||||
name = "Ut Cubilia"
|
||||
scheduleDaysEnabled = [
|
||||
DayOfWeek.TUESDAY,
|
||||
|
||||
Binary file not shown.
@ -198,6 +198,7 @@ Frame {
|
||||
color = -665641
|
||||
createdAtMs = 1905721875752
|
||||
emoji = "💀"
|
||||
id = <2faf620c7229690068c4b09c566976e5>
|
||||
name = "Congue Fastidii"
|
||||
scheduleDaysEnabled = [
|
||||
DayOfWeek.MONDAY,
|
||||
|
||||
Binary file not shown.
@ -195,6 +195,7 @@ Frame {
|
||||
color = -68144
|
||||
createdAtMs = 1894221577852
|
||||
emoji = "👍"
|
||||
id = <2faf620c7229690068c4b09c566976e5>
|
||||
name = "Morbi Dicat"
|
||||
scheduleEnabled = true
|
||||
scheduleEndTime = 434
|
||||
|
||||
Binary file not shown.
@ -195,6 +195,7 @@ Frame {
|
||||
]
|
||||
color = -1382699
|
||||
emoji = "👎"
|
||||
id = <2faf620c7229690068c4b09c566976e5>
|
||||
name = "Ut Cubilia"
|
||||
scheduleDaysEnabled = [
|
||||
DayOfWeek.MONDAY
|
||||
|
||||
Binary file not shown.
@ -199,6 +199,7 @@ Frame {
|
||||
color = -2960676
|
||||
createdAtMs = 1905721875752
|
||||
emoji = "👍🏾"
|
||||
id = <2faf620c7229690068c4b09c566976e5>
|
||||
name = "Congue Fastidii"
|
||||
scheduleDaysEnabled = [
|
||||
DayOfWeek.TUESDAY,
|
||||
|
||||
Binary file not shown.
@ -198,6 +198,7 @@ Frame {
|
||||
color = -2631719
|
||||
createdAtMs = 1894221577852
|
||||
emoji = "👩💻"
|
||||
id = <2faf620c7229690068c4b09c566976e5>
|
||||
name = "Morbi Dicat"
|
||||
scheduleDaysEnabled = [
|
||||
DayOfWeek.THURSDAY,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user