changeset 31532:8c6a1fa21f43

Add a comment that we should eventually remove this pref
author Mark Doliner <mark@kingant.net>
date Mon, 03 Jan 2011 19:18:07 +0000
parents dd2f19faee14
children 44f53d3fc54f 135868ec0aa9
files libpurple/plugins/autoaccept.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/plugins/autoaccept.c	Thu Dec 30 02:43:47 2010 +0000
+++ b/libpurple/plugins/autoaccept.c	Mon Jan 03 19:18:07 2011 +0000
@@ -231,6 +231,13 @@
 plugin_load(PurplePlugin *plugin)
 {
 	/* migrate the old pref (we should only care if the plugin is actually *used*) */
+	/*
+	 * TODO: We should eventually call purple_prefs_remove(PREFS_STRANGER_OLD)
+	 *       to clean up after ourselves, but we don't want to do it yet
+	 *       so that we don't break users who share a .purple directory
+	 *       between old libpurple clients and new libpurple clients.
+	 *                                             --Mark Doliner, 2011-01-03
+	 */
 	if(purple_prefs_get_bool(PREF_STRANGER_OLD))
 		purple_prefs_set_int(PREF_STRANGER, FT_REJECT);