diff options
author | Zach Copley <zach@status.net> | 2009-11-24 18:47:56 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2009-11-24 18:47:56 +0000 |
commit | 2eae258319d5621065f9491ba4d81814c0f2b1fd (patch) | |
tree | 71305b1bee0e9b557f078f0c11ecbad3b9ee2059 /plugins/Realtime/RealtimePlugin.php | |
parent | 4bace8f1a5df797aead91ce802d4538e1dfed9ec (diff) | |
parent | 2da531d7d65044f3093eafd72b73a08e1cf67fd5 (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins/Realtime/RealtimePlugin.php')
-rw-r--r-- | plugins/Realtime/RealtimePlugin.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php index c5fb6de03..cbfa6bae0 100644 --- a/plugins/Realtime/RealtimePlugin.php +++ b/plugins/Realtime/RealtimePlugin.php @@ -139,8 +139,8 @@ class RealtimePlugin extends Plugin // Add to the public timeline - if ($notice->is_local || - ($notice->is_local == 0 && !common_config('public', 'localonly'))) { + if ($notice->is_local == Notice::LOCAL_PUBLIC || + ($notice->is_local == Notice::REMOTE_OMB && !common_config('public', 'localonly'))) { $paths[] = array('public'); } @@ -220,8 +220,9 @@ class RealtimePlugin extends Plugin $action->elementStart('body', (common_current_user()) ? array('id' => $action->trimmed('action'), - 'class' => 'user_in') - : array('id' => $action->trimmed('action'))); + 'class' => 'user_in realtime-popup') + : array('id' => $action->trimmed('action'), + 'class'=> 'realtime-popup')); // XXX hack to deal with JS that tries to get the // root url from page output |