Page MenuHomePhorge

D12494.1768564610.diff
No OneTemporary

Size
913 B
Referenced Files
None
Subscribers
None

D12494.1768564610.diff

diff --git a/lib/shared/thread-utils.js b/lib/shared/thread-utils.js
--- a/lib/shared/thread-utils.js
+++ b/lib/shared/thread-utils.js
@@ -426,6 +426,11 @@
+sourceMessageID?: string,
};
+const defaultSubscription = {
+ pushNotifs: false,
+ home: false,
+};
+
function createPendingThread({
viewerID,
threadType,
@@ -490,10 +495,7 @@
currentUser: minimallyEncodeThreadCurrentUserInfo({
role: role.id,
permissions: membershipPermissions,
- subscription: {
- pushNotifs: false,
- home: false,
- },
+ subscription: defaultSubscription,
unread: false,
}),
repliesCount: 0,
@@ -754,10 +756,7 @@
currentUser = {
role: null,
permissions: currentUserPermissions,
- subscription: {
- home: false,
- pushNotifs: false,
- },
+ subscription: defaultSubscription,
unread: null,
};
}

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 16, 11:56 AM (14 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5944046
Default Alt Text
D12494.1768564610.diff (913 B)

Event Timeline