diff libpurple/prpl.h @ 25008:a4d6e2c1e73b

Update the comment for add_buddy in prpl.h to note it may be called to mean 'request authorization'
author Paul Aurich <paul@darkrain42.org>
date Sun, 21 Dec 2008 22:12:23 +0000
parents 9216da5184a2
children 9ea3474065dc
line wrap: on
line diff
--- a/libpurple/prpl.h	Sun Dec 21 22:11:46 2008 +0000
+++ b/libpurple/prpl.h	Sun Dec 21 22:12:23 2008 +0000
@@ -294,6 +294,14 @@
 	void (*set_idle)(PurpleConnection *, int idletime);
 	void (*change_passwd)(PurpleConnection *, const char *old_pass,
 						  const char *new_pass);
+	/**
+	 * Add a buddy to a group on the server.
+	 *
+	 * This PRPL function may be called in situations in which the buddy is
+	 * already in the specified group. If the protocol supports
+	 * authorization and the user is not already authorized to see the
+	 * status of \a buddy, \a add_buddy should request authorization.
+	 */
 	void (*add_buddy)(PurpleConnection *, PurpleBuddy *buddy, PurpleGroup *group);
 	void (*add_buddies)(PurpleConnection *, GList *buddies, GList *groups);
 	void (*remove_buddy)(PurpleConnection *, PurpleBuddy *buddy, PurpleGroup *group);