libpurple/protocols/oscar/oscar.c

changeset 27325
efe14a748826
parent 27199
ab2af9d15cba
child 27342
7ae07a1d4bf4
--- a/libpurple/protocols/oscar/oscar.c	Wed Jun 10 01:07:29 2009 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Wed Jun 10 07:44:35 2009 +0000
@@ -7022,6 +7022,16 @@
 	/* Preferences */
 	purple_prefs_add_none("/plugins/prpl/oscar");
 	purple_prefs_add_bool("/plugins/prpl/oscar/recent_buddies", FALSE);
+
+	/*
+	 * These two preferences will normally not be changed.  UIs can optionally
+	 * use them to override these two version fields which are sent to the
+	 * server when logging in.  AOL requested this change to allow clients to
+	 * use custom values.
+	 */
+	purple_prefs_add_string("/plugins/prpl/oscar/clientstring", NULL);
+	purple_prefs_add_int("/plugins/prpl/oscar/distid", -1);
+
 	purple_prefs_remove("/plugins/prpl/oscar/show_idle");
 	purple_prefs_remove("/plugins/prpl/oscar/always_use_rv_proxy");
 

mercurial