diff options
author | Evan Prodromou <evan@status.net> | 2010-11-08 13:09:25 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-11-08 13:09:25 -0500 |
commit | 90037696093742abdc4e92171eb5188e8ad64ec0 (patch) | |
tree | 78dfbf6951cd183d40fd9e161f78603e5f677dfe /lib/noticelist.php | |
parent | 35931e3a0e3b78f222e8aa6eb02e71ca7a3b8410 (diff) | |
parent | 719b480eaaa3459497c008839606a96cc8f368e1 (diff) |
Merge branch '0.9.x' into emailsummary
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r-- | lib/noticelist.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php index bdf2530b3..6f82c9269 100644 --- a/lib/noticelist.php +++ b/lib/noticelist.php @@ -327,11 +327,8 @@ class NoticeListItem extends Widget function showAvatar() { - if ('shownotice' === $this->out->trimmed('action')) { - $avatar_size = AVATAR_PROFILE_SIZE; - } else { - $avatar_size = AVATAR_STREAM_SIZE; - } + $avatar_size = AVATAR_STREAM_SIZE; + $avatar = $this->profile->getAvatar($avatar_size); $this->out->element('img', array('src' => ($avatar) ? |