Skip to content
Snippets Groups Projects
Commit 9901ec3b authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Merge branch 'jsalyers-restore-lost-mute' into 'develop'

[JES] Add muting functionaility back to brdige_get_ranked_post_by_created_for_observer_communities

See merge request !407
parents a8cd6357 1acc0244
No related branches found
No related tags found
2 merge requests!456Release candidate v1 24,!407[JES] Add muting functionaility back to brdige_get_ranked_post_by_created_for_observer_communities
......@@ -22,6 +22,7 @@ BEGIN
and hive_posts.counter_deleted = 0
and (__post_id = 0 OR hive_posts.id < __post_id)
and hive_accounts.reputation > '-464800000000'::bigint
and (not exists (select 1 from muted_accounts_by_id_view where observer_id = __account_id and muted_id = hive_posts.author_id))
order by id desc
limit _limit) posts
order by id desc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment