Page MenuHomePhabricator

D7454.id27653.diff
No OneTemporary

D7454.id27653.diff

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<NewThreadResponse> {
+function createPrivateThread(viewer: Viewer): Promise<NewThreadResponse> {
return createThread(
viewer,
{
type: threadTypes.PRIVATE,
- name: username,
description: privateThreadDescription,
ghostMemberIDs: [commbot.userID],
},

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 15, 9:05 PM (20 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2495573
Default Alt Text
D7454.id27653.diff (1 KB)

Event Timeline