Merge pull request #10028 from kraktus/ublog_propagate_likes

Propagate `Low` tiered ublog likes in timeline.
pull/10033/head
Thibault Duplessis 2021-10-25 17:34:42 +02:00 committed by GitHub
commit 9763362fa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ final class UblogRank(
if (v) $addToSet("likers" -> user.id) else $pull("likers" -> user.id)
}
) >>- {
if (v && tier >= UblogBlog.Tier.NORMAL)
if (v && tier >= UblogBlog.Tier.LOW)
timeline ! (Propagate(UblogPostLike(user.id, id.value, title)) toFollowersOf user.id)
} inject likes
}