diff options
| author | Adam Soltys <[email protected]> | 2026-09-12 08:28:02 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-12 08:28:02 -0700 |
| commit | f34b5a155e7cb63e15eff7e7ba9559292b31c5e1 (patch) | |
| tree | d5fdb28f3f2212f24067db73fd259d76a6f8706a /android/app/src/twa/java | |
| parent | d4576229565d9b4411d0d9fc44780da03ef0b47b (diff) | |
| download | coinosv3-f34b5a155e7cb63e15eff7e7ba9559292b31c5e1.tar.gz coinosv3-f34b5a155e7cb63e15eff7e7ba9559292b31c5e1.zip | |
Answer a post: like it, boost it, quote it, or stop seeing its author.
Under every post now: a heart with its count, a boost with its count, and a
quote. Behind an ellipsis beside reply and zap: quote, boost, copy the note's
reference, mute the author, or block them. Likes and boosts come back in the
SAME relay request the zap tallies already make — one round trip answers all
three — and each action paints before any relay does, the way the zap chip
learned to.
A like is kind 7 and a boost kind 6, published to the author's own write
relays as well as ours, so the person being answered actually sees it. A
quote opens the composer with a nostr:nevent reference already in the text
and tags the post on publish, so other clients render the embed. Taking a
like back is the only withdrawal nostr has — a deletion request naming the
reaction.
Mute is the NIP-51 list (kind 10000): their posts leave the feed at once and
the list is published, so it follows you to other clients. Block is the same
list plus an unfollow, which is why it says so.
And a bug the mute found, which the follow list had too: the optimistic paint
was being read back as fact. Both toggles paint the answer immediately and
then publish onto the newest list the relays will give them — but when the
relays had nothing newer, "the newest list" WAS the optimistic paint, so the
code saw the follow already present and published a list without it. Every
follow was a no-op that looked like it worked. The base is now the relays'
copy only when it's genuinely newer, and otherwise what we held before the
paint.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_019mrt228Upn9nNCwGixzSLx
Diffstat (limited to 'android/app/src/twa/java')
0 files changed, 0 insertions, 0 deletions
