From ff782f1d976f60c7d2e89dba0332531978ff9cf9 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 15 Apr 2011 18:28:36 -0400 Subject: [PATCH] Thread by conversation, not id --- lib/threadingnoticestream.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/threadingnoticestream.php b/lib/threadingnoticestream.php index c4b35f4092..167a9584a6 100644 --- a/lib/threadingnoticestream.php +++ b/lib/threadingnoticestream.php @@ -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;