aboutsummaryrefslogtreecommitdiffstats
path: root/src/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/features')
-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;