aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/messages.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-27 23:17:12 -0700
committerAdam Soltys <[email protected]>2026-09-27 23:17:12 -0700
commita9a5d1fdce7a342394c2facb2344adbc7aa69aea (patch)
tree76bc49039c6a11442ab4112373e6fc94a4b5269d /src/features/messages.js
parent44bc9d0596f1d195367799797aca5e76e4924fe9 (diff)
downloadcoinosv3-a9a5d1fdce7a342394c2facb2344adbc7aa69aea.tar.gz
coinosv3-a9a5d1fdce7a342394c2facb2344adbc7aa69aea.zip
A renewal the round would refuse is retired, not resubmitted every sync; /feed opened before the wallet no longer doubles Popular.
A refresh at the created step with an input past its expiry (only the server's backstop can renew it now), or whose fee leaves less than the 330-sat floor (a 21-sat coin with a 150-sat fee sat "in progress" for days), is failed quietly and its inputs go back to spendable. /feed read before the wallet restored made a visitor's session copy of Popular beside the built-in one; the wallet's arrival now folds it away. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D
Diffstat (limited to 'src/features/messages.js')
-rw-r--r--src/features/messages.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/features/messages.js b/src/features/messages.js
index 756e9e1..fdd5643 100644
--- a/src/features/messages.js
+++ b/src/features/messages.js
@@ -9088,6 +9088,13 @@ export function messagesFeature(ctx) {
init() {
const session = ++feedWarmSession;
returnAfterSignin(); // a visitor who signed in from a feed or profile lands back on it
+ // /feed opened before the wallet restored made a visitor's session copy
+ // of Popular; with the wallet here, the built-in one takes over (two
+ // Popular chips otherwise)
+ if (adhocFeeds.has('all:visitor')) {
+ adhocFeeds.delete('all:visitor'); dropFeedState('all:visitor');
+ if (curFeedId === 'all:visitor') { ui.feedId = EVERYTHING; curFeedId = EVERYTHING; }
+ }
// this wallet's cached faces, from its own namespace — the keys are
// in place now, whatever the header asked for before
profilesWarmed = false;