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 committed 2024-12-19 07:21:15 -08:00
1 parent 09d6568ef9
commit 6fa6a5733e
5 files changed
+52 -7

No files matched your search

@@ -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);