We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 31fd4dbe authored by Evan Prodromou's avatar Evan Prodromou

Repeats keep the same scope as parent

parent 32145484
......@@ -1588,8 +1588,13 @@ class Notice extends Memcached_DataObject
$content = mb_substr($content, 0, $maxlen - 4) . ' ...';
return self::saveNew($repeater_id, $content, $source,
array('repeat_of' => $this->id));
// Scope is same as this one's
return self::saveNew($repeater_id,
array('repeat_of' => $this->id,
'scope' => $this->scope));
// These are supposed to be in chron order!
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