Describe the bug with a clear and concise description of what the bug is.
Hello, thanks for this useful software!
I have recently been running my server using gotosocial.
I have noticed that I am not getting crawled by the search engines.
I read the source code of gotosocial and did what I could to change it by "discoverable".
However, when I actually tried to configure my account using the API, I found that it was not ready to be enabled.
What's your GoToSocial Version?
0.7.0-rc3 git-700ed77
GoToSocial Arch
amd64 Docker
What happened?
I requested the URL "/api/v1/accounts/verify_credentials", but there is no "discoverable" in the response body.
What you expected to happen?
When "discoverable" is enabled using the "/api/v1/accounts/update_credentials" endpoint, "discoverable" must be present in the "/api/v1/accounts/verify_credentials" request body.
Describe the bug with a clear and concise description of what the bug is.
Hello, thanks for this useful software!
I have recently been running my server using gotosocial. I have noticed that I am not getting crawled by the search engines. I read the source code of gotosocial and did what I could to change it by "discoverable". However, when I actually tried to configure my account using the API, I found that it was not ready to be enabled.
What's your GoToSocial Version?
0.7.0-rc3 git-700ed77
GoToSocial Arch
amd64 Docker
What happened?
I requested the URL "/api/v1/accounts/verify_credentials", but there is no "discoverable" in the response body.
What you expected to happen?
When "discoverable" is enabled using the "/api/v1/accounts/update_credentials" endpoint, "discoverable" must be present in the "/api/v1/accounts/verify_credentials" request body.
How to reproduce it?
I have made my confirmation that this does not appear to be a problem with the account update feature.
I haven't gotten as far as debugging the gotosocial source code yet, but I think the next line might be the problem. accountFrontend.Discoverable is always a zero value (false) https://github.com/superseriousbusiness/gotosocial/blob/main/internal/typeutils/internaltofrontend.go#L201-L225
Anything else we need to know?
I can try to tackle this problem. I am willing to help.