diff options
author | Zach Copley <zach@status.net> | 2009-11-16 21:49:51 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2009-11-16 21:49:51 +0000 |
commit | bcc414bc9f7f7993abcf3ccb8c6b895017b99d85 (patch) | |
tree | 294ae0d466b52e9be2689c4603ad76d37688e76d | |
parent | f7bc741e6d498dffde35dc812d18474171fc11ff (diff) | |
parent | e4d191334f5b2e40a4cd97e1c23677d4712b7700 (diff) |
Merge branch '0.8.x'
-rw-r--r-- | lib/mailbox.php | 2 | ||||
-rw-r--r-- | plugins/Realtime/RealtimePlugin.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/mailbox.php b/lib/mailbox.php index e1d384a06..90a58b4c4 100644 --- a/lib/mailbox.php +++ b/lib/mailbox.php @@ -282,7 +282,7 @@ class MailboxAction extends CurrentUserDesignAction $ns->name); $this->elementEnd('span'); } else { - $this->out->element('span', 'device', $source_name); + $this->element('span', 'device', $source_name); } break; } diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php index 0f0d0f9f4..a21c33b10 100644 --- a/plugins/Realtime/RealtimePlugin.php +++ b/plugins/Realtime/RealtimePlugin.php @@ -132,8 +132,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'); } |