BDX-town / Mangane

Alternative frontend for Akkoma
https://bdx.town
GNU Affero General Public License v3.0
155 stars 26 forks source link

Can not 'Block notifications from strangers' #268

Closed meaz closed 7 months ago

meaz commented 8 months ago

Log in mangane, go to Edit profile and enable Block notifications from strangers. If you Save but leave and come back, the option is not active anymore.

Dehelssey commented 8 months ago

just tested and it indeed doesn't work ! thanks for noting this :)

Cl0v1s commented 7 months ago

That's an issue on akkoma side: the doc is saying that the data must be provided in the request body while in facts (and in their tests) it's provided in the request uri

https://docs.akkoma.dev/stable/development/API/pleroma_api/#apipleromanotification_settings

https://bdx.town/api/pleroma/notification_settings with body { block_from_strangers: true } -> innefective

https://bdx.town/api/pleroma/notification_settings?block_from_strangers=true -> setting actually changed

Cl0v1s commented 7 months ago

Issue created there, i'll add a fix on our side for now https://akkoma.dev/AkkomaGang/akkoma/issues/722

Cl0v1s commented 7 months ago

fixed in https://github.com/BDX-town/Mangane/pull/277