Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32207897
D14820.1765120514.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D14820.1765120514.diff
View Options
diff --git a/lib/shared/threads/protocols/dm-thread-protocol.js b/lib/shared/threads/protocols/dm-thread-protocol.js
--- a/lib/shared/threads/protocols/dm-thread-protocol.js
+++ b/lib/shared/threads/protocols/dm-thread-protocol.js
@@ -922,6 +922,8 @@
membershipMessageNotifAction: messageNotifyTypes.SET_UNREAD,
shouldConvertIDs: false,
+
+ dataIsBackedUp: true,
});
function pendingThreadType(numberOfOtherMembers: number) {
diff --git a/lib/shared/threads/protocols/keyserver-thread-protocol.js b/lib/shared/threads/protocols/keyserver-thread-protocol.js
--- a/lib/shared/threads/protocols/keyserver-thread-protocol.js
+++ b/lib/shared/threads/protocols/keyserver-thread-protocol.js
@@ -679,6 +679,8 @@
membershipMessageNotifAction: messageNotifyTypes.NONE,
shouldConvertIDs: true,
+
+ dataIsBackedUp: true,
});
function pendingThreadType(numberOfOtherMembers: number) {
diff --git a/lib/shared/threads/thread-spec.js b/lib/shared/threads/thread-spec.js
--- a/lib/shared/threads/thread-spec.js
+++ b/lib/shared/threads/thread-spec.js
@@ -400,6 +400,12 @@
+threadActivityUpdatedByDMActivityHandler: boolean,
+membershipMessageNotifAction: MessageNotifyType,
+shouldConvertIDs: boolean,
+ // This flag specifies that all data created or updated should be included
+ // in backup (compaction and logs), and backup created by the primary
+ // device is considered to be the source of truth for this.
+ // In practice, this means that this data storage is in tables
+ // that are included in the backup.
+ +dataIsBackedUp: boolean,
};
export type ThreadSpec<
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 7, 3:15 PM (16 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5844949
Default Alt Text
D14820.1765120514.diff (1 KB)
Attached To
Mode
D14820: [lib] add `dataIsBackedUp` flag to `ThreadProtocol`
Attached
Detach File
Event Timeline
Log In to Comment