refactor(ap-ports): accept_note returns ThoughtId instead of ()
This commit is contained in:
@@ -72,7 +72,7 @@ pub trait ActivityPubRepository: Send + Sync {
|
|||||||
content_warning: Option<String>,
|
content_warning: Option<String>,
|
||||||
visibility: &str,
|
visibility: &str,
|
||||||
in_reply_to: Option<&str>,
|
in_reply_to: Option<&str>,
|
||||||
) -> Result<(), DomainError>;
|
) -> Result<ThoughtId, DomainError>;
|
||||||
|
|
||||||
/// Apply an Update to a previously accepted remote Note.
|
/// Apply an Update to a previously accepted remote Note.
|
||||||
async fn apply_note_update(&self, ap_id: &str, new_content: &str) -> Result<(), DomainError>;
|
async fn apply_note_update(&self, ap_id: &str, new_content: &str) -> Result<(), DomainError>;
|
||||||
|
|||||||
Reference in New Issue
Block a user