From: Evan Prodromou Date: Mon, 30 May 2011 19:29:18 +0000 (-0400) Subject: correctly get profile for scope in apitimelinementions X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d544c78276e6b822e94e7714a98f73b941189185;p=quix0rs-gnu-social.git correctly get profile for scope in apitimelinementions --- diff --git a/actions/apitimelinementions.php b/actions/apitimelinementions.php index 25e08dd0e3..2b5053a84f 100644 --- a/actions/apitimelinementions.php +++ b/actions/apitimelinementions.php @@ -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);