jackjamieson2 / yarns-microsub-server

Yarns is a Microsub server that runs as a plugin on your WordPress site.
GNU General Public License v2.0
20 stars 4 forks source link

Adding channel with same name as existing channel #93

Closed jackjamieson2 closed 5 years ago

jackjamieson2 commented 5 years ago

As mentioned at https://chat.indieweb.org/wordpress/2019-09-04#t1567625389830700

bekomotion[m]: Something that really bugged me is also that it silently skips adding new channels when the name exists already. API comes back with 200 success but no new channel is added so there is probably something off too.

Best solution is to figure out a consistent structure for returning response messages to be displayed in the UI. There are some mechanisms for this, but they're implemented inconsistently in Yarns' JavaScript.