Page MenuHomePhabricator

D7454.diff
No OneTemporary

D7454.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
Thu, Dec 5, 4:54 AM (14 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2616035
Default Alt Text
D7454.diff (1 KB)

Event Timeline