]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Don't show repeater avatar in notice lists
authorEvan Prodromou <evan@status.net>
Tue, 15 Dec 2009 21:08:44 +0000 (16:08 -0500)
committerEvan Prodromou <evan@status.net>
Tue, 15 Dec 2009 21:08:44 +0000 (16:08 -0500)
lib/noticelist.php
plugins/Realtime/realtimeupdate.js

index 2165222eec4e5b398eca14b2f3f09f42ce0b770e..4c11ceed6cecf60dcf4b191bece29d503745d0fa 100644 (file)
@@ -551,17 +551,6 @@ class NoticeListItem extends Widget
 
             $this->out->elementStart('a', $attrs);
 
-            $this->out->element('img', array('src' => ($avatar) ?
-                                             $avatar->displayUrl() :
-                                             Avatar::defaultImage(AVATAR_MINI_SIZE),
-                                             'class' => 'avatar photo',
-                                             'width' => AVATAR_MINI_SIZE,
-                                             'height' => AVATAR_MINI_SIZE,
-                                             'alt' =>
-                                             ($repeater->fullname) ?
-                                             $repeater->fullname :
-                                             $repeater->nickname));
-
             $this->out->element('span', 'nickname', $repeater->nickname);
             $this->out->elementEnd('a');
 
index 18f00f22a9240b4053a2c8a80662fe38f6aa8943..b57451e20555262f4af9a7b173187cf8a07d9f7a 100644 (file)
@@ -159,7 +159,6 @@ RealtimeUpdate = {
                ru = repeat['user'];
                ni = ni + "<span class=\"repeat vcard\">Repeated by " +
                     "<a href=\"" + ru['profile_url'] + "\" class=\"url\">" +
-                    "<img src=\"" + ru['profile_image_url'] + "\" class=\"avatar photo\" width=\"24\" height=\"24\" alt=\"" + ru['screen_name'] + "\"/>" +
                     "<span class=\"nickname\">"+ ru['screen_name'] + "</span></a></span>";
           }