Add Atom feeds for blogs and users

This commit is contained in:
Bat
2018-09-01 21:08:26 +01:00
parent 5cb994c15b
commit 97c0b533ab
8 changed files with 109 additions and 4 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ impl FromActivity<Note, PgConnection> for Comment {
sensitive: false // "sensitive" is not a standard property, we need to think about how to support it with the activitypub crate
});
// save mentions
// save mentionsd
if let Some(serde_json::Value::Array(tags)) = note.object_props.tag.clone() {
for tag in tags.into_iter() {
serde_json::from_value::<link::Mention>(tag)