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,