Prevent reblogging DMs
This commit is contained in:
parent
5986c078dc
commit
2f553c1648
|
@ -160,13 +160,11 @@ extension StatusView {
|
|||
$isMyself
|
||||
)
|
||||
.map { visibility, isMyself in
|
||||
if isMyself {
|
||||
return true
|
||||
}
|
||||
|
||||
switch visibility {
|
||||
case .public, .unlisted:
|
||||
return true
|
||||
case .private where isMyself:
|
||||
return true
|
||||
case .private, .direct, ._other:
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue