Store activity content into Notice table in saveActivity
This commit is contained in:
parent
ac44695c44
commit
e0a10f775f
@ -768,6 +768,11 @@ class Notice extends Managed_DataObject
|
|||||||
$stored->url = $url;
|
$stored->url = $url;
|
||||||
$stored->verb = $act->verb;
|
$stored->verb = $act->verb;
|
||||||
|
|
||||||
|
// Use the local user's shortening preferences, if applicable.
|
||||||
|
$stored->content = $actor->isLocal()
|
||||||
|
? $actor->shortenLinks($act->content)
|
||||||
|
: $act->content;
|
||||||
|
|
||||||
$autosource = common_config('public', 'autosource');
|
$autosource = common_config('public', 'autosource');
|
||||||
|
|
||||||
// Sandboxed are non-false, but not 1, either
|
// Sandboxed are non-false, but not 1, either
|
||||||
|
Loading…
Reference in New Issue
Block a user