mirror of
https://seed.radicle.dev/rad:z4D5UCArafTzTQpDZNQRuqswh3ury.git
synced 2026-11-22 03:00:44 +08:00
Simplify reactOnComment action
This commit is contained in:
@@ -221,7 +221,6 @@
|
||||
}
|
||||
|
||||
async function reactOnComment(
|
||||
publicKey: string,
|
||||
commentId: string,
|
||||
authors: Author[],
|
||||
reaction: string,
|
||||
@@ -239,7 +238,7 @@
|
||||
reaction,
|
||||
review: review.id,
|
||||
active: !authors.find(
|
||||
({ did }) => publicKeyFromDid(did) === publicKey,
|
||||
({ did }) => publicKeyFromDid(did) === config.publicKey,
|
||||
),
|
||||
},
|
||||
opts: { announce: $nodeRunning && $announce },
|
||||
|
||||
Reference in New Issue
Block a user