Page MenuHomePhabricator

D10198.diff
No OneTemporary

D10198.diff

diff --git a/lib/utils/thread-ops-utils.js b/lib/utils/thread-ops-utils.js
--- a/lib/utils/thread-ops-utils.js
+++ b/lib/utils/thread-ops-utils.js
@@ -4,13 +4,15 @@
import {
type ClientDBThreadInfo,
type LegacyRawThreadInfo,
+ type RawThreadInfo,
} from '../types/thread-types.js';
function convertRawThreadInfoToClientDBThreadInfo(
- rawThreadInfo: LegacyRawThreadInfo,
+ rawThreadInfo: RawThreadInfo,
): ClientDBThreadInfo {
+ const { minimallyEncoded, ...rest } = rawThreadInfo;
return {
- ...rawThreadInfo,
+ ...rest,
creationTime: rawThreadInfo.creationTime.toString(),
members: JSON.stringify(rawThreadInfo.members),
roles: JSON.stringify(rawThreadInfo.roles),

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 6, 5:59 PM (20 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2431624
Default Alt Text
D10198.diff (708 B)

Event Timeline