MCPcopy Create free account
hub / github.com/CommE2E/comm / hydrateMessageInfo

Function hydrateMessageInfo

keyserver/src/push/send.js:226–227  ·  view source on GitHub ↗
(rawMessageInfo: RawMessageInfo)

Source from the content-addressed store, hash-verified

224 } = input;
225
226 const hydrateMessageInfo = (rawMessageInfo: RawMessageInfo) =>
227 createMessageInfo(rawMessageInfo, userID, userInfos, threadInfos);
228 const newMessageInfos = [];
229 const newRawMessageInfos = [];
230 for (const newRawMessageInfo of notifInfo.newMessageInfos) {

Callers 1

preparePushNotifFunction · 0.70

Calls 1

createMessageInfoFunction · 0.90

Tested by

no test coverage detected