diff options
-rw-r--r-- | kittybox-rs/src/micropub/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kittybox-rs/src/micropub/mod.rs b/kittybox-rs/src/micropub/mod.rs index fe3db57..9351603 100644 --- a/kittybox-rs/src/micropub/mod.rs +++ b/kittybox-rs/src/micropub/mod.rs @@ -276,6 +276,7 @@ pub(crate) async fn _post<D: 'static + Storage>( .unwrap_or_default() ); // Save the post + tracing::debug!("Saving post to database..."); db.put_post(&mf2, &user_domain).await?; let mut channels = mf2["properties"]["channel"] @@ -299,6 +300,7 @@ pub(crate) async fn _post<D: 'static + Storage>( let default_channels = vec![default_channel, vcards_channel, food_channel]; for chan in &mut channels { + debug!("Adding post {} to channel {}", uid, chan); if db.post_exists(chan).await? { db.add_to_feed(chan, &uid).await?; } else if default_channels.iter().any(|i| chan == i) { |