From: Evan Prodromou Date: Fri, 15 Apr 2011 22:28:36 +0000 (-0400) Subject: Thread by conversation, not id X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ff782f1d976f60c7d2e89dba0332531978ff9cf9;p=quix0rs-gnu-social.git Thread by conversation, not id --- 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;