forked from GNUsocial/gnu-social
Undo part of c6e4feb815
so that blacklisted notices are not displayed in realtime
This commit is contained in:
parent
afe5e71c4e
commit
3db551ed5a
@ -139,8 +139,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