Page MenuHomePhabricator

D12825.id42591.diff
No OneTemporary

D12825.id42591.diff

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

Mime Type
text/plain
Expires
Tue, Dec 24, 2:25 PM (10 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2700187
Default Alt Text
D12825.id42591.diff (1 KB)

Event Timeline