? friend-backlinks.patch
Index: friend.api.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/friend/friend.api.inc,v
retrieving revision 1.17
diff -r1.17 friend.api.inc
193a194,198
>  * @param $list_id
>  *  the list by which to filter
>  * @param $back
>  *  A boolen to toggle 'people who are friends of me' 
>  *   vs. 'people I am the friend of'
197c202,206
< function friendapi_friend_list($uid,$list_id=null){
---
> function friendapi_friend_list($uid,$list_id=null,$back=false){
> 
>   $col = 'uid';
>   if($back)
>     $col = 'fid';
203c212
< 				WHERE F.uid = %d
---
> 				WHERE F.$col = %d
209c218
< 				WHERE F.status = 1 AND F.uid = %d
---
> 				WHERE F.status = 1 AND F.$col = %d
