Page MenuHomePhabricator

D9519.diff
No OneTemporary

D9519.diff

diff --git a/lib/types/message-types.js b/lib/types/message-types.js
--- a/lib/types/message-types.js
+++ b/lib/types/message-types.js
@@ -453,8 +453,6 @@
export type ClientDBThreadMessageInfo = {
+id: string,
+start_reached: string,
- +last_navigated_to: string,
- +last_pruned: string,
};
export const messageTruncationStatus = Object.freeze({
diff --git a/lib/utils/message-ops-utils.js b/lib/utils/message-ops-utils.js
--- a/lib/utils/message-ops-utils.js
+++ b/lib/utils/message-ops-utils.js
@@ -265,13 +265,10 @@
threadMessageInfo: ThreadMessageInfo | TranslatedThreadMessageInfo,
): ClientDBThreadMessageInfo {
const startReached = threadMessageInfo.startReached ? 1 : 0;
- const lastNavigatedTo = 0;
- const lastPruned = 0;
+
return {
id,
start_reached: startReached.toString(),
- last_navigated_to: lastNavigatedTo.toString(),
- last_pruned: lastPruned.toString(),
};
}

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 4, 3:07 AM (6 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2610666
Default Alt Text
D9519.diff (927 B)

Event Timeline