]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Thread by conversation, not id
authorEvan Prodromou <evan@status.net>
Fri, 15 Apr 2011 22:28:36 +0000 (18:28 -0400)
committerEvan Prodromou <evan@status.net>
Fri, 15 Apr 2011 22:28:36 +0000 (18:28 -0400)
lib/threadingnoticestream.php

index c4b35f4092557f361e11e7eea88cb82241af263c..167a9584a6d7641e7c3ecb2d30245a1f282b8e14 100644 (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;