pidgin: fd28311b: Stu points out that removing this old pr...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Wed Dec 29 21:45:52 EST 2010


----------------------------------------------------------------------
Revision: fd28311b112d25ccb1bc15ffce5aa67d565b5db9
Parent:   f99b2d3f38a4c4e2371b93caa74715ee13fa81ba
Author:   rekkanoryo at pidgin.im
Date:     12/29/10 21:43:47
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/fd28311b112d25ccb1bc15ffce5aa67d565b5db9

Changelog: 

Stu points out that removing this old pref could be a problem for users sharing .purple directories.

Changes against parent f99b2d3f38a4c4e2371b93caa74715ee13fa81ba

  patched  libpurple/plugins/autoaccept.c

-------------- next part --------------
============================================================
--- libpurple/plugins/autoaccept.c	09da15f31615c3a35282f42f8ba8d7452f8e2c87
+++ libpurple/plugins/autoaccept.c	38cef034e928522f0890ce6e5d7f18b151f5693e
@@ -231,10 +231,8 @@ plugin_load(PurplePlugin *plugin)
 plugin_load(PurplePlugin *plugin)
 {
 	/* migrate the old pref (we should only care if the plugin is actually *used*) */
-	if(purple_prefs_get_bool(PREF_STRANGER_OLD)) {
+	if(purple_prefs_get_bool(PREF_STRANGER_OLD))
 		purple_prefs_set_int(PREF_STRANGER, FT_REJECT);
-		purple_prefs_remove(PREF_STRANGER_OLD);
-	}
 
 	purple_signal_connect(purple_xfers_get_handle(), "file-recv-request", plugin,
 						PURPLE_CALLBACK(file_recv_request_cb), plugin);


More information about the Commits mailing list