microdotblog / microblog-react

MIT License
30 stars 3 forks source link

Hide audio upload if not Premium #70

Closed manton closed 1 year ago

manton commented 1 year ago

Merging this in, should be the final 3.2.1 change.

manton commented 1 year ago

Hi @vincentritter, as an optimization later we may want to return a microblog-premium field from /micropub?q=config too. Requires a server change but would fit with Micropub and possibly mean one less API hit when opening the new post screen.

vincentritter commented 1 year ago

Yep, this would be a great addition! Because when I was changing this I thought exactly that… “when a site you’re invited to has premium (or another site on your account), we should show/hide depending on that value instead”.

— Vincent