Some more fields that will be needed for the user query

This commit is contained in:
Michael 2021-01-15 11:46:57 +00:00
commit 3ab4e20fe6
2 changed files with 7 additions and 1 deletions

View file

@ -36,7 +36,7 @@
*
*/
return [
return [
"post-view" => [
"fields" => [
"id" => ["item", "id"],
@ -106,6 +106,9 @@ return [
"contact-avatar" => ["contact", "thumb"],
"contact-network" => ["contact", "network"],
"contact-blocked" => ["contact", "blocked"],
"contact-readonly" => ["contact", "readonly"],
"contact-pending" => ["contact", "pending"],
"contact-rel" => ["contact", "rel"],
"contact-uid" => ["contact", "uid"],
"writable" => "IF (`item`.`network` IN ('apub', 'dfrn', 'dspr', 'stat'), true, `contact`.`writable`)",
"self" => ["contact", "self"],