mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 06:38:20 +01:00
fix: Refactor lysand note handling in conversion.rs
This commit is contained in:
parent
03f6663768
commit
766819346f
|
|
@ -176,7 +176,7 @@ pub async fn receive_lysand_note(note: Note, db_id: String) -> anyhow::Result<en
|
||||||
content_type: Set("Note".to_string()),
|
content_type: Set("Note".to_string()),
|
||||||
visibility: Set(visibility.to_string()),
|
visibility: Set(visibility.to_string()),
|
||||||
title: Set(note.subject.clone()),
|
title: Set(note.subject.clone()),
|
||||||
url: Set(ap_note.id.to_string()),
|
url: Set(note.uri.clone().to_string()),
|
||||||
reply_id: Set(reply_uuid),
|
reply_id: Set(reply_uuid),
|
||||||
quoting_id: Set(quote_uuid),
|
quoting_id: Set(quote_uuid),
|
||||||
spoiler_text: Set(note.subject),
|
spoiler_text: Set(note.subject),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue