blockUser script now turns existing article-replies & article-reply feedbacks into blocked state as well.
Both article's reply count & article reply's feedback counts are also updated after putting these existing contents to BLOCKED state.
Refactor: extract updateArticleReplyByFeedbacks logic so that blockUser can reuse.
Coverage increased (+0.2%) to 87.21% when pulling 3fb929d3216707e0aeee6bb080bd6bc1a58bae02 on block-articlereply-feedbacks into 05b0367680d69e3f8f3ff729f332fb023ce2a16e on master.
This implements user blocking mechanism M4.
blockUser
script now turns existing article-replies & article-reply feedbacks into blocked state as well. Both article's reply count & article reply's feedback counts are also updated after putting these existing contents toBLOCKED
state.Refactor: extract
updateArticleReplyByFeedbacks
logic so thatblockUser
can reuse.