commit a8de23b12a103629901a178c0e7d5a0078beeb64
parent c000a7d27b34b177c8e07c2af31214cb281519f9
Author: kernelkind <kernelkind@gmail.com>
Date: Thu, 26 Feb 2026 19:01:43 -0500
feat(outbox-int): use outbox for people list
Signed-off-by: kernelkind <kernelkind@gmail.com>
Diffstat:
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/crates/notedeck/src/note/publish.rs b/crates/notedeck/src/note/publish.rs
@@ -231,7 +231,7 @@ pub fn send_mute_event(
pub fn send_people_list_event(
ndb: &Ndb,
- pool: &mut RelayPool,
+ publisher: &mut PublishApi<'_, '_>,
kp: FilledKeypair,
name: &str,
members: &[Pubkey],
@@ -251,7 +251,7 @@ pub fn send_people_list_event(
builder = builder.start_tag().tag_str("p").tag_str(&pk.hex());
}
- send_note_builder(builder, ndb, pool, kp);
+ publish_note_builder(builder, ndb, publisher, kp);
}
pub fn send_report_event(
diff --git a/crates/notedeck_columns/src/ui/add_column.rs b/crates/notedeck_columns/src/ui/add_column.rs
@@ -1113,7 +1113,13 @@ fn handle_create_people_list(app: &mut Damus, ctx: &mut AppContext<'_>, col: usi
return;
};
- notedeck::send_people_list_event(ctx.ndb, ctx.legacy_pool, kp, &name, &members);
+ notedeck::send_people_list_event(
+ ctx.ndb,
+ &mut ctx.remote.publisher(ctx.accounts),
+ kp,
+ &name,
+ &members,
+ );
// Reset the people_lists cache so it picks up the new list
app.view_state.people_lists = None;