#330 Remove posts immediately by blocking someone
Merge request reports
Activity
I also think it's too nuclear. but please note the fact that when follow or unblock someone, it's hard to fetch/display his posts added while he was blocked, because posts are fetched by using max_id/min_id of timelines existing in the store. Anyway, I will add a new mutation according to your opinion.
Edited by Jasper Lingers362 362 if (timeline === 'media') { 363 363 params.push(['only_media', 1]) 364 364 } 365 366 params.push(['count', 20]) 365 if (!between) { 366 params.push(['count', count]) yes, if count isn't provided then, it's still set to 20.
const fetchTimeline = ({timeline, credentials, since = false, until = false, between = false, count = 20, userId = false, tag = false}) => {
I just wanted to fetch all statuses (over 20) between max-id and min-id after unblock/follow someone.
changed this line in version 3 of the diff
oh, I hadn't checked backend. I think we need to add a case to fetch all statuses between max_id and since_id in the backend.
Just so you know, the backend uses "limit" parameter, not "count". The "count" from FE isn't used at all. I will change it to "limit" in FE.
Edited by Jasper Lingersmentioned in merge request !569 (closed)
mentioned in commit e3b3ef15