Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3509625
D9874.id33265.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
636 B
Referenced Files
None
Subscribers
None
D9874.id33265.diff
View Options
diff --git a/keyserver/src/push/send.js b/keyserver/src/push/send.js
--- a/keyserver/src/push/send.js
+++ b/keyserver/src/push/send.js
@@ -626,12 +626,15 @@
threadPromise,
oldNamesPromise,
]);
- const serverThreadInfos = threadResult.threadInfos;
+ const serverThreadInfos = { ...threadResult.threadInfos };
if (oldNames) {
const [result] = oldNames;
for (const row of result) {
const threadID = row.thread.toString();
- serverThreadInfos[threadID].name = row.name;
+ serverThreadInfos[threadID] = {
+ ...serverThreadInfos[threadID],
+ name: row.name,
+ };
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 6:55 AM (5 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2690505
Default Alt Text
D9874.id33265.diff (636 B)
Attached To
Mode
D9874: [Flow202][keyserver][skip-ci] [25/x] Fix type error in push notif fetchInfos
Attached
Detach File
Event Timeline
Log In to Comment