Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3403298
D9519.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
927 B
Referenced Files
None
Subscribers
None
D9519.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D9519: [lib] Remove `last_[navigated_to/pruned]` from `ClientDBThreadMessageInfo`
Attached
Detach File
Event Timeline
Log In to Comment