make ConversationNoticeStream accept a profile parameter
This commit is contained in:
parent
dc25564251
commit
85c4e11f83
@ -46,10 +46,11 @@ if (!defined('STATUSNET')) {
|
||||
*/
|
||||
class ConversationNoticeStream extends ScopingNoticeStream
|
||||
{
|
||||
function __construct($id)
|
||||
function __construct($id, $profile = null)
|
||||
{
|
||||
parent::__construct(new CachingNoticeStream(new RawConversationNoticeStream($id),
|
||||
'notice:conversation_ids:'.$id));
|
||||
'notice:conversation_ids:'.$id),
|
||||
$profile);
|
||||
}
|
||||
}
|
||||
|
||||
@ -98,9 +99,6 @@ class RawConversationNoticeStream extends NoticeStream
|
||||
}
|
||||
}
|
||||
|
||||
$notice->free();
|
||||
$notice = NULL;
|
||||
|
||||
return $ids;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user