Make buddylistautoadd optionally reciprocal

mikesmullin - May 30, 2007 - 04:07
Project:Buddylist
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:patch (code needs review)
Description

This patch (see attached) makes the /contrib/buddylistautoadd.module add buddies reciprocally, instead of just one-way. This reflects the behavior of MySpace (e.g. Tom), and I recommend someone take this patch and add the necessary lines of code in the hook_settings() function to make it an option (whether or not to add buddies reciprocally).

Great module! Thanks.

AttachmentSize
patch_129.txt809 bytes

#1

John Morahan - August 20, 2008 - 09:56

This reuses the value of the 'buddylist_require_approval' setting which IIRC is already used to determine whether buddies are reciprocal or not. Untested.

AttachmentSize
buddylistautoadd-reciprocal.patch1.14 KB
 
 

Drupal is a registered trademark of Dries Buytaert.