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

@ -1560,6 +1560,9 @@ CREATE VIEW `post-view` AS SELECT
`contact`.`thumb` AS `contact-avatar`,
`contact`.`network` AS `contact-network`,
`contact`.`blocked` AS `contact-blocked`,
`contact`.`readonly` AS `contact-readonly`,
`contact`.`pending` AS `contact-pending`,
`contact`.`rel` AS `contact-rel`,
`contact`.`uid` AS `contact-uid`,
IF (`item`.`network` IN ('apub', 'dfrn', 'dspr', 'stat'), true, `contact`.`writable`) AS `writable`,
`contact`.`self` AS `self`,