fix: make reposts of nsfw posts nsfw
chore: update permission management uis
This commit is contained in:
parent
c49e4458e2
commit
7b4865333e
5 changed files with 11 additions and 3 deletions
|
@ -652,6 +652,11 @@ impl DataManager {
|
|||
if let Some(ref rt) = reposting {
|
||||
data.context.reposts_enabled = false; // cannot repost reposts
|
||||
|
||||
// mirror nsfw status
|
||||
if rt.context.is_nsfw {
|
||||
data.context.is_nsfw = true;
|
||||
}
|
||||
|
||||
// make sure we aren't trying to repost a repost
|
||||
if if let Some(ref repost) = rt.context.repost {
|
||||
repost.reposting.is_some()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue