add rationale comment

This commit is contained in:
Pavel Prichodko 2022-06-15 11:45:50 +02:00
parent a666d93844
commit bf8a7e33fe
No known key found for this signature in database
GPG Key ID: 8E4C82D464215E83
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)
} }