don't calculate replies for remote notices

This commit is contained in:
Evan Prodromou
2010-02-21 23:56:48 -05:00
parent a9599d53c5
commit 891e002883
3 changed files with 31 additions and 3 deletions

View File

@@ -182,7 +182,8 @@ class SalmonAction extends Action
$options = array('is_local' => Notice::REMOTE_OMB,
'uri' => $this->act->object->id,
'url' => $this->act->object->link,
'rendered' => $rendered);
'rendered' => $rendered,
'replies' => $this->act->context->attention);
if (!empty($this->act->context->location)) {
$options['lat'] = $location->lat;