Page MenuHomePhorge

D14253.1768798892.diff
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

D14253.1768798892.diff

diff --git a/lib/reducers/message-reducer.js b/lib/reducers/message-reducer.js
--- a/lib/reducers/message-reducer.js
+++ b/lib/reducers/message-reducer.js
@@ -96,6 +96,7 @@
messageTruncationStatus,
defaultNumberPerThread,
type ThreadMessageInfo,
+ type MessageStoreLocalMessageInfos,
} from '../types/message-types.js';
import type { RawImagesMessageInfo } from '../types/messages/images.js';
import type { RawMediaMessageInfo } from '../types/messages/media.js';
@@ -1736,7 +1737,7 @@
action.payload.messageStoreThreads ?? [],
);
- const actionPayloadMessageStoreLocalMessageInfos =
+ const actionPayloadMessageStoreLocalMessageInfos: MessageStoreLocalMessageInfos =
action.payload.messageStoreLocalMessageInfos ?? {};
const messageStoreOperations: Array<MessageStoreOperation> = [];
@@ -1744,9 +1745,9 @@
for (const localMessageID in actionPayloadMessageStoreLocalMessageInfos) {
if (
actionPayloadMessageStoreLocalMessageInfos[localMessageID]
- .outboundP2PMessages &&
+ .outboundP2PMessageIDs &&
actionPayloadMessageStoreLocalMessageInfos[localMessageID]
- .outboundP2PMessages.length > 0
+ .outboundP2PMessageIDs.length > 0
) {
// If there are `outboundP2PMessages` it means the message failed,
// but setting `sendFailed` could not be done, e.g. when the app was

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 19, 5:01 AM (2 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5954479
Default Alt Text
D14253.1768798892.diff (1 KB)

Event Timeline