GoToSocial: Support hide_collections

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-07-27 11:57:46 +02:00
parent 157b36a87f
commit e3e787fc53
3 changed files with 15 additions and 7 deletions

View File

@ -580,7 +580,10 @@ const getInstanceFeatures = (instance: Instance) => {
* Can hide follows/followers lists and counts.
* @see PATCH /api/v1/accounts/update_credentials
*/
hideNetwork: v.software === PLEROMA,
hideNetwork: any([
v.software === PLEROMA,
v.software === GOTOSOCIAL,
]),
/**
* Pleroma import API.