add: finish ui rewrite
This commit is contained in:
parent
e9846016e6
commit
5dec98d698
119 changed files with 8776 additions and 9350 deletions
|
@ -280,14 +280,11 @@ impl DataManager {
|
|||
continue;
|
||||
}
|
||||
|
||||
if ua1.id != ua.id {
|
||||
if ua1.id != ua.id && !ua1.permissions.check(FinePermission::MANAGE_POSTS) {
|
||||
if let Some(is_following) =
|
||||
seen_user_follow_statuses.get(&(ua.id, ua1.id))
|
||||
{
|
||||
if !is_following
|
||||
&& ua.id != ua1.id
|
||||
&& !ua1.permissions.check(FinePermission::MANAGE_POSTS)
|
||||
{
|
||||
if !is_following && ua.id != ua1.id {
|
||||
private_post_replying!(post, replying_posts, ua1, self);
|
||||
}
|
||||
} else {
|
||||
|
@ -295,7 +292,6 @@ impl DataManager {
|
|||
.get_userfollow_by_initiator_receiver(ua.id, ua1.id)
|
||||
.await
|
||||
.is_err()
|
||||
&& !ua1.permissions.check(FinePermission::MANAGE_POSTS)
|
||||
&& ua.id != ua1.id
|
||||
{
|
||||
// post owner is not following us
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue