Thread by conversation, not id

This commit is contained in:
Evan Prodromou 2011-04-15 18:28:36 -04:00
parent 2dd81d9a5c
commit ff782f1d97

View File

@ -60,8 +60,8 @@ class ThreadingNoticeStream extends FilteringNoticeStream
function filter($notice)
{
if (!array_key_exists($notice->id, $this->seen)) {
$this->seen[$notice->id] = true;
if (!array_key_exists($notice->conversation, $this->seen)) {
$this->seen[$notice->conversation] = true;
return true;
} else {
return false;