add: slightly more advanced theming

add: profile "before you view" warning
This commit is contained in:
trisua 2025-04-11 18:08:51 -04:00
parent 52ac144953
commit 2ec7e54a8e
20 changed files with 790 additions and 153 deletions

View file

@ -159,7 +159,7 @@ impl DataManager {
}
if let Some(is_following) = seen_user_follow_statuses.get(&(user.id, user_id)) {
if !is_following {
if !is_following && (user.id != user_id) {
// post owner is not following us
continue;
}
@ -488,7 +488,7 @@ impl DataManager {
// make sure we aren't trying to repost a repost
if if let Some(ref repost) = rt.context.repost {
!(!repost.is_repost)
repost.reposting.is_some()
} else {
false
} {