Commit d544c782 authored by Evan Prodromou's avatar Evan Prodromou

correctly get profile for scope in apitimelinementions

parent 650af0a2
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment