Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3246112
D7454.id27653.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7454.id27653.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D7454: [keyserver] Don't specify name for new PRIVATE threads
Attached
Detach File
Event Timeline
Log In to Comment