forked from GNUsocial/gnu-social
Only show local notices or (remote notices if they're supposed to be shown)
This commit is contained in:
parent
3bf1024771
commit
e4d191334f
@ -132,8 +132,8 @@ class RealtimePlugin extends Plugin
|
|||||||
|
|
||||||
// Add to the public timeline
|
// Add to the public timeline
|
||||||
|
|
||||||
if ($notice->is_local ||
|
if ($notice->is_local == Notice::LOCAL_PUBLIC ||
|
||||||
($notice->is_local == 0 && !common_config('public', 'localonly'))) {
|
($notice->is_local == Notice::REMOTE_OMB && !common_config('public', 'localonly'))) {
|
||||||
$paths[] = array('public');
|
$paths[] = array('public');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user