forked from GNUsocial/gnu-social
if is_local was not provided to Notice:saveActivity it wouldn't be set
This commit is contained in:
parent
aba38d5586
commit
66a1d63dd0
@ -798,6 +798,8 @@ class Notice extends Managed_DataObject
|
||||
if (!$actor->hasRight(Right::PUBLICNOTICE) ||
|
||||
($source && $autosource && in_array($source, $autosource))) {
|
||||
$stored->is_local = Notice::LOCAL_NONPUBLIC;
|
||||
} else {
|
||||
$notice->is_local = $is_local;
|
||||
}
|
||||
|
||||
// Maybe a missing act-time should be fatal if the actor is not local?
|
||||
|
Loading…
Reference in New Issue
Block a user