add rationale comment

This commit is contained in:
Pavel Prichodko 2022-06-15 11:45:50 +02:00
parent 83777e9759
commit 112cd0d9ab
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ export function getReactions(
if (retracted) { if (retracted) {
reactions[type].delete(publicKey) reactions[type].delete(publicKey)
} else { } else {
// Set handles that potentially multiple same reactions count as one
reactions[type].add(publicKey) reactions[type].add(publicKey)
} }