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;