Thread by conversation, not id
This commit is contained in:
parent
2dd81d9a5c
commit
ff782f1d97
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user