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
Sun, Nov 24, 6:10 AM (20 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2573659
Default Alt Text
D10198.id34485.diff (708 B)

Event Timeline