correctly get profile for scope in apitimelinementions
This commit is contained in:
parent
650af0a271
commit
d544c78276
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user