Commit 66a1d63d authored by mmn's avatar mmn

if is_local was not provided to Notice:saveActivity it wouldn't be set

parent aba38d55
......@@ -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?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment