Page MenuHomePhabricator

D10198.id34485.diff
No OneTemporary

D10198.id34485.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, 7:22 PM (21 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2431624
Default Alt Text
D10198.id34485.diff (708 B)

Event Timeline