Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3504676
D6616.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
745 B
Referenced Files
None
Subscribers
None
D6616.diff
View Options
diff --git a/keyserver/src/updaters/thread-updaters.js b/keyserver/src/updaters/thread-updaters.js
--- a/keyserver/src/updaters/thread-updaters.js
+++ b/keyserver/src/updaters/thread-updaters.js
@@ -644,7 +644,12 @@
relationshipChangeset: addMembersRelationshipChangeset,
} = addMembersChangeset;
addedMemberIDs = addMembersMembershipRows
- .filter(row => row.operation === 'save' && Number(row.role) > 0)
+ .filter(
+ row =>
+ row.operation === 'save' &&
+ row.threadID === request.threadID &&
+ Number(row.role) > 0,
+ )
.map(row => row.userID);
membershipRows.push(...addMembersMembershipRows);
relationshipChangeset.addAll(addMembersRelationshipChangeset);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 10:00 AM (16 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2687354
Default Alt Text
D6616.diff (745 B)
Attached To
Mode
D6616: [keyserver] Fix "added username and username" issue when adding user
Attached
Detach File
Event Timeline
Log In to Comment