timeline: auto-add yourself to your home timeline

This is the most intuitive, and damus iOS does the same thing. You
have to follow yourself, sorry. Otherwise you won't see your posts
when you post which is confusing.

Fixes: https://github.com/damus-io/notedeck/issues/509
This commit is contained in:
William Casarin
2024-12-18 23:16:02 -08:00
parent 09d6568ef9
commit 6fa6a5733e
5 changed files with 52 additions and 7 deletions

View File

@@ -504,6 +504,10 @@ pub fn render_add_column_routes(
ctx.note_cache,
app.since_optimize,
&ctx.accounts.mutefun(),
ctx.accounts
.get_selected_account()
.as_ref()
.map(|sa| &sa.pubkey),
);
app.columns_mut(ctx.accounts)
.add_timeline_to_column(col, timeline);