Page MenuHomePhorge

D13010.1768511243.diff
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

D13010.1768511243.diff

diff --git a/lib/reducers/db-ops-reducer.js b/lib/reducers/db-ops-reducer.js
--- a/lib/reducers/db-ops-reducer.js
+++ b/lib/reducers/db-ops-reducer.js
@@ -26,14 +26,15 @@
ops: {
outboundP2PMessages: action.payload.messages,
},
+ notificationsCreationData: action.payload.notificationsCreationData,
dmOpID: action.payload.dmOpID,
};
+
return {
...store,
queuedOps: [...store.queuedOps, newEntry],
};
}
-
return store;
}
diff --git a/lib/tunnelbroker/peer-to-peer-context.js b/lib/tunnelbroker/peer-to-peer-context.js
--- a/lib/tunnelbroker/peer-to-peer-context.js
+++ b/lib/tunnelbroker/peer-to-peer-context.js
@@ -190,6 +190,7 @@
allPeerUserIDAndDeviceIDs,
currentUserInfo,
);
+
dispatch({
type: scheduleP2PMessagesActionType,
payload: {
diff --git a/lib/types/db-ops-types.js b/lib/types/db-ops-types.js
--- a/lib/types/db-ops-types.js
+++ b/lib/types/db-ops-types.js
@@ -12,12 +12,11 @@
| {
+messageSourceMetadata: MessageSourceMetadata,
+ops?: ?StoreOperations,
+ +notificationsCreationData?: NotificationsCreationData,
}
| {
+ops: StoreOperations,
+dmOpID?: string,
- }
- | {
+notificationsCreationData?: NotificationsCreationData,
};
diff --git a/lib/types/dm-ops.js b/lib/types/dm-ops.js
--- a/lib/types/dm-ops.js
+++ b/lib/types/dm-ops.js
@@ -4,6 +4,7 @@
import { clientAvatarValidator, type ClientAvatar } from './avatar-types.js';
import type { RawMessageInfo } from './message-types.js';
+import type { NotificationsCreationData } from './notif-types.js';
import type { OutboundP2PMessage } from './sqlite-types.js';
import {
type NonSidebarThickThreadType,
@@ -369,6 +370,7 @@
export type ScheduleP2PMessagesPayload = {
+dmOpID: string,
+messages: $ReadOnlyArray<OutboundP2PMessage>,
+ +notificationsCreationData?: NotificationsCreationData,
};
export const clearQueuedThreadDMOpsActionType = 'CLEAR_QUEUED_THREAD_DM_OPS';

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 15, 9:07 PM (13 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5940053
Default Alt Text
D13010.1768511243.diff (1 KB)

Event Timeline