onboarding: Narrow new users in DMs with Welcome Bot.

Earlier, new users were narrowed to the interleaved
DMs view on the first visit.

This commit updates the behavior to narrow new users
in DMs with Welcome Bot.

Reason for the change:
It makes more sense overall as an interleaved DMs view
is a power user view and it would also prevent the
message fading banner #29076 from showing up if the
user DMs Welcome Bot right away.
This commit is contained in:
Prakhar Pratyush
2024-06-28 13:50:34 +05:30
committed by Tim Abbott
parent c8aeff9a79
commit caedcb8b8b
3 changed files with 8 additions and 3 deletions

View File

@@ -636,7 +636,7 @@ export function initialize_everything(state_data) {
},
});
// This needs to happen after activity_ui.initialize, so that user_filter
// is defined.
// is defined. Also, must happen after people.initialize()
tutorial.initialize();
// All overlays, and also activity_ui, must be initialized before hashchange.js