diff options
| author | Adam Soltys <[email protected]> | 2026-09-10 11:23:06 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-10 11:23:06 -0700 |
| commit | faa20f7380a517f04395b2395616d75e24007fdd (patch) | |
| tree | 5b077caa22dc6673710bec038e1033ffb1c5027c /dev.js | |
| parent | 84628442c8c4f2cf30e79f84fbbcc872ea8fe818 (diff) | |
| download | coinosv3-faa20f7380a517f04395b2395616d75e24007fdd.tar.gz coinosv3-faa20f7380a517f04395b2395616d75e24007fdd.zip | |
Profile posts: a missing signer opens the reconnect screen (with the nsec field), not a toast.
A pasted-nsec login is never stored, so a reload leaves the link without
a signer. The post, reply and profile-edit paths checked for an identity
by THROWING the "signer isn't connected" message, which the composer then
caught and toasted — bypassing noIdToast, whose whole job is to open the
reconnect screen where the nsec (or extension / bunker) can be re-entered.
Those paths now go through requireIdentity(): it opens the screen (or
toasts, when there's no link to reconnect) and throws a silent error the
callers don't repeat.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Nw1Dijik1tLVKRM1WkU7xE
Diffstat (limited to 'dev.js')
0 files changed, 0 insertions, 0 deletions
