Only show twitter msgs in your own inbox

This commit is contained in:
Evan Prodromou
2009-06-18 11:45:48 -07:00
parent b761cfd409
commit 3f54840b51
6 changed files with 81 additions and 37 deletions

View File

@@ -81,6 +81,14 @@ class AllrssAction extends Rss10Action
*/
function getNotices($limit=0)
{
$cur = common_current_user();
if (!empty($cur) && $cur->id == $user->id) {
$notice = $this->user->noticeInbox(0, $limit);
} else {
$notice = $this->user->noticesWithFriends(0, $limit);
}
$user = $this->user;
$notice = $user->noticesWithFriends(0, $limit);
$notices = array();