Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3524767
D12825.id42625.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D12825.id42625.diff
View Options
diff --git a/lib/shared/dm-ops/create-thread-spec.js b/lib/shared/dm-ops/create-thread-spec.js
--- a/lib/shared/dm-ops/create-thread-spec.js
+++ b/lib/shared/dm-ops/create-thread-spec.js
@@ -23,7 +23,7 @@
minimallyEncodeRoleInfo,
minimallyEncodeThreadCurrentUserInfo,
} from '../../types/minimally-encoded-thread-permissions-types.js';
-import { defaultThreadSubscription } from '../../types/subscription-types.js';
+import { joinThreadSubscription } from '../../types/subscription-types.js';
import type { ThickThreadType } from '../../types/thread-types-enum.js';
import type { ThickMemberInfo } from '../../types/thread-types.js';
import { updateTypes } from '../../types/update-types-enum.js';
@@ -84,7 +84,7 @@
role: role.id,
permissions: membershipPermissions,
isSender: memberID === viewerID,
- subscription: defaultThreadSubscription,
+ subscription: joinThreadSubscription,
}),
),
roles: {
@@ -93,7 +93,7 @@
currentUser: minimallyEncodeThreadCurrentUserInfo({
role: role.id,
permissions: membershipPermissions,
- subscription: defaultThreadSubscription,
+ subscription: joinThreadSubscription,
unread: creatorID !== viewerID,
}),
repliesCount: 0,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 2:25 PM (8 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2700187
Default Alt Text
D12825.id42625.diff (1 KB)
Attached To
Mode
D12825: [lib] Turn on notifs by default for thick threads
Attached
Detach File
Event Timeline
Log In to Comment