correctly get profile for scope in apitimelinementions

This commit is contained in:
Evan Prodromou 2011-05-30 15:29:18 -04:00
parent 650af0a271
commit d544c78276

View File

@ -196,7 +196,7 @@ class ApiTimelineMentionsAction extends ApiBareAuthAction
if (empty($this->auth_user)) {
$profile = null;
} else {
$profile = $this->auth_user->profile;
$profile = $this->auth_user->getProfile();
}
$stream = new ReplyNoticeStream($this->user->id, $profile);