diff --git a/keyserver/src/creators/account-creator.js b/keyserver/src/creators/account-creator.js --- a/keyserver/src/creators/account-creator.js +++ b/keyserver/src/creators/account-creator.js @@ -159,7 +159,7 @@ ]); const [privateThreadResult, ashoatThreadResult] = await Promise.all([ - createPrivateThread(viewer, request.username), + createPrivateThread(viewer), createThread( viewer, { @@ -274,7 +274,7 @@ ]); const [privateThreadResult, ashoatThreadResult] = await Promise.all([ - createPrivateThread(viewer, request.address), + createPrivateThread(viewer), createThread( viewer, { diff --git a/keyserver/src/creators/thread-creator.js b/keyserver/src/creators/thread-creator.js --- a/keyserver/src/creators/thread-creator.js +++ b/keyserver/src/creators/thread-creator.js @@ -503,15 +503,11 @@ }; } -function createPrivateThread( - viewer: Viewer, - username: string, -): Promise { +function createPrivateThread(viewer: Viewer): Promise { return createThread( viewer, { type: threadTypes.PRIVATE, - name: username, description: privateThreadDescription, ghostMemberIDs: [commbot.userID], },