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
1 changed files with 1 additions and 1 deletions

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);