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

Mark all posts read doesn't work #83

Closed jackjamieson2 closed 5 years ago

jackjamieson2 commented 5 years ago

Actually, I don't know why this is the case, but for some reason it seems like marking all posts as read in Monocle isn't working.

Looks to me like Monocle is sending a request in the same form as Yarns expects, so I imagine I just have a typo or something silly. WIll try to address this soon, but given it's stymied me so far I might take some time away before I take another try

jackjamieson2 commented 5 years ago

Hmm, thought I had this fixed but still seems inconsistent. Bleh

jackjamieson2 commented 5 years ago

Looks like when marking all posts read, Only the most recent 40 are affected. This means the default of 40 posts per timeline request is overriding the argument to fetch all posts:

https://github.com/jackjamieson2/yarns-microsub-server/blob/master/includes/class-yarns-microsub-posts.php#L209