summaryrefslogtreecommitdiff
path: root/actions/allrss.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-18 11:45:48 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-18 11:45:48 -0700
commit3f54840b51d5565fdeb7057661ff730bc0e41833 (patch)
tree7bb2ab81f6523ccfb46eb4e5f3cd4d9ba7d56389 /actions/allrss.php
parentb761cfd4094c778b533cf77570b655d25cfced6b (diff)
Only show twitter msgs in your own inbox
Diffstat (limited to 'actions/allrss.php')
-rw-r--r--actions/allrss.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/actions/allrss.php b/actions/allrss.php
index 45f3946a6..88a4745c9 100644
--- a/actions/allrss.php
+++ b/actions/allrss.php
@@ -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();