Undo reaction by tapping

This commit is contained in:
Jon Staab 2026-08-17 15:25:53 -07:00
parent f5d22664ac
commit c62ef3fc3c

View file

@ -110,12 +110,11 @@
pushModal(ProfileList, {title, subtitle, pubkeys, url})
const onReactionClick = (events: TrustedEvent[], pubkeys: string[], info: string) => {
if (isMobile) {
if (isMobile && !pubkeys.includes($user.pubkey)) {
showReactors(pubkeys, info.replace(" reacted", ""), "Reacted to this message")
return
} else {
toggleReaction(events)
}
toggleReaction(events)
}
const onZapClick = (pubkeys: string[], info: string) => {