fix for Atom notice output: correct check against conversation & current id

This commit is contained in:
Brion Vibber 2010-02-12 15:30:23 -08:00
parent 38f42d56bc
commit d6f1df8b76

View File

@ -1016,7 +1016,7 @@ class Notice extends Memcached_DataObject
} }
if (!empty($this->conversation) if (!empty($this->conversation)
&& $this->conversation != $this->notice->id) { && $this->conversation != $this->id) {
$xs->element( $xs->element(
'link', array( 'link', array(
'rel' => 'ostatus:conversation', 'rel' => 'ostatus:conversation',