From: Mikael Nordfeldth Date: Sat, 3 Oct 2015 11:24:31 +0000 (+0200) Subject: if is_local was not provided to Notice:saveActivity it wouldn't be set X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=66a1d63dd0c9b097ea554709ca50a814368146d6;p=quix0rs-gnu-social.git if is_local was not provided to Notice:saveActivity it wouldn't be set --- diff --git a/classes/Notice.php b/classes/Notice.php index 8f98abd306..fe42c074a0 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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?