Add support for avatars, and fetch remote ones

This commit is contained in:
Bat
2018-09-03 12:17:59 +01:00
parent a357dae45d
commit aa5fa11218
6 changed files with 54 additions and 10 deletions
+1 -1
View File
@@ -155,6 +155,7 @@ table! {
public_key -> Text,
shared_inbox_url -> Nullable<Varchar>,
followers_endpoint -> Varchar,
avatar_id -> Nullable<Int4>,
}
}
@@ -165,7 +166,6 @@ joinable!(comments -> posts (post_id));
joinable!(comments -> users (author_id));
joinable!(likes -> posts (post_id));
joinable!(likes -> users (user_id));
joinable!(medias -> users (owner_id));
joinable!(mentions -> comments (comment_id));
joinable!(mentions -> posts (post_id));
joinable!(mentions -> users (mentioned_id));