*/
class ConversationNoticeStream extends ScopingNoticeStream
{
- function __construct($id, $profile = -1)
+ function __construct($id, Profile $scoped=null)
{
- if (is_int($profile) && $profile == -1) {
- $profile = Profile::current();
- }
-
parent::__construct(new RawConversationNoticeStream($id),
- $profile);
+ $scoped);
}
}