forked from GNUsocial/gnu-social
UserRSS Didn't Use the Tag Propery.
This meant that server.com/user/tag/TAG/rss just returned all user data. That was incorrect.
This commit is contained in:
parent
c1212fb9e3
commit
43cc24a0cc
@ -37,8 +37,12 @@ class UserrssAction extends Rss10Action
|
|||||||
if (!$this->user) {
|
if (!$this->user) {
|
||||||
$this->clientError(_('No such user.'));
|
$this->clientError(_('No such user.'));
|
||||||
return false;
|
return false;
|
||||||
|
} else {
|
||||||
|
if ($this->tag) {
|
||||||
|
$this->notices = $this->getTaggedNotices($tag, $this->limit);
|
||||||
} else {
|
} else {
|
||||||
$this->notices = $this->getNotices($this->limit);
|
$this->notices = $this->getNotices($this->limit);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user