Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default post privacy not working correctly on Akkoma #83

Open
mimuki opened this issue Sep 2, 2023 · 4 comments
Open

default post privacy not working correctly on Akkoma #83

mimuki opened this issue Sep 2, 2023 · 4 comments

Comments

@mimuki
Copy link

mimuki commented Sep 2, 2023

My post privacy is set to followers only/private in the Akkoma web interface, but posts sent by msync with "default" privacy are posted as public. I don't know if you're interested in supporting stuff that isn't mastodon... but i figured I would mention it just in case.

thanks for the very cool tool, by the way- it's been helping me a lot

@Kansattica
Copy link
Owner

Thank you! Do you happen to know what the Akkoma API wants to see in this case? If it's something I can add alongside the Mastodon stuff without adding a lot of extra code or stuff that cares about specific server software, I'll look into it.

@mimuki
Copy link
Author

mimuki commented Sep 3, 2023

i have no idea, but i'll poke around and see if i can figure it out :)

@mimuki
Copy link
Author

mimuki commented Sep 4, 2023

https://docs.akkoma.dev/stable/development/API/differences_in_mastoapi_responses/#akkoma-settings-store seems to indicate that GETting the /api/v1/accounts/verify_credentials endpoint will return the default privacy (among other things)

and https://docs.akkoma.dev/stable/development/API/differences_in_mastoapi_responses/#patch-apiv1accountsupdate_credentials leads me to think that default_scope is the name of the default privacy parameter?

I'm not super savvy with API stuff, let me know if you need more information and i'll try and find it. But to be honest, this sounds like a bunch of work just for Akkoma, and i'm happy to just use the --privacy flag if that's the case.

@Kansattica
Copy link
Owner

Ah, yes, it looks like they don't implement default like Mastodon does. I will take a look later and see if I'm missing something, but it may be worth asking the Akkoma devs to implement the default privacy? Msync isn't the only one that uses it- I know Subway Tooter and probably some other mobile apps have the same setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants