diff --git a/src/main.rs b/src/main.rs index c74d6d3..520c9ea 100644 --- a/src/main.rs +++ b/src/main.rs @@ -70,6 +70,14 @@ fn sync(snac: &Snac, nex: &Nex, is_debug: bool) -> Result { if !post.is_note() { todo!() } + // handle own posts only @TODO + if !post.id.contains(&format!("/{}/p/", &user.name)) { + if is_debug { + println!("\t\tskip third-party post `{}`.", post.id); + } + r.ignored += 1; + continue; + } // skip non authorized content if let Some(content) = post.source_content { if is_debug {