Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3407229
D7454.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.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
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)
Attached To
Mode
D7454: [keyserver] Don't specify name for new PRIVATE threads
Attached
Detach File
Event Timeline
Log In to Comment