mirror of
https://github.com/friendica/friendica
synced 2025-04-24 07:10:11 +00:00
use thumb avatar size instead of micro size in the contact list
This commit is contained in:
parent
0344d26896
commit
e67554924a
2 changed files with 6 additions and 4 deletions
|
@ -26,6 +26,7 @@ class ForumManager {
|
|||
* 'name' => forum name
|
||||
* 'id' => number of the key from the array
|
||||
* 'micro' => contact photo in format micro
|
||||
* 'thumb' => contact photo in format thumb
|
||||
*/
|
||||
public static function get_list($uid, $showhidden = true, $lastitem, $showprivate = false) {
|
||||
|
||||
|
@ -38,7 +39,7 @@ class ForumManager {
|
|||
$select = '(`forum` OR `prv`)';
|
||||
}
|
||||
|
||||
$contacts = q("SELECT `contact`.`id`, `contact`.`url`, `contact`.`name`, `contact`.`micro` FROM `contact`
|
||||
$contacts = q("SELECT `contact`.`id`, `contact`.`url`, `contact`.`name`, `contact`.`micro`, `contact`.`thumb` FROM `contact`
|
||||
WHERE `network`= 'dfrn' AND $select AND `uid` = %d
|
||||
AND NOT `blocked` AND NOT `hidden` AND NOT `pending` AND NOT `archive`
|
||||
AND `success_update` > `failure_update`
|
||||
|
@ -55,6 +56,7 @@ class ForumManager {
|
|||
'name' => $contact['name'],
|
||||
'id' => $contact['id'],
|
||||
'micro' => $contact['micro'],
|
||||
'thumb' => $contact['thumb'],
|
||||
);
|
||||
}
|
||||
return($forumlist);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue