comparison libpurple/protocols/oscar/oscar.c @ 27098:28b5fcfb7444

Check in a change requested by Gregory Cypes from AOL. They want clients to be able to specify the clientstring and distribution id used when authenticating. Seems like a reasonable request. If the UI doesn't change these preferences then the default values from the ClientInfo struct are used.
author Mark Doliner <mark@kingant.net>
date Wed, 10 Jun 2009 07:44:35 +0000
parents 1fcd09c34fee
children a9899d234dfa
comparison
equal deleted inserted replaced
27094:db373b572015 27098:28b5fcfb7444
7020 init = TRUE; 7020 init = TRUE;
7021 7021
7022 /* Preferences */ 7022 /* Preferences */
7023 purple_prefs_add_none("/plugins/prpl/oscar"); 7023 purple_prefs_add_none("/plugins/prpl/oscar");
7024 purple_prefs_add_bool("/plugins/prpl/oscar/recent_buddies", FALSE); 7024 purple_prefs_add_bool("/plugins/prpl/oscar/recent_buddies", FALSE);
7025
7026 /*
7027 * These two preferences will normally not be changed. UIs can optionally
7028 * use them to override these two version fields which are sent to the
7029 * server when logging in. AOL requested this change to allow clients to
7030 * use custom values.
7031 */
7032 purple_prefs_add_string("/plugins/prpl/oscar/clientstring", NULL);
7033 purple_prefs_add_int("/plugins/prpl/oscar/distid", -1);
7034
7025 purple_prefs_remove("/plugins/prpl/oscar/show_idle"); 7035 purple_prefs_remove("/plugins/prpl/oscar/show_idle");
7026 purple_prefs_remove("/plugins/prpl/oscar/always_use_rv_proxy"); 7036 purple_prefs_remove("/plugins/prpl/oscar/always_use_rv_proxy");
7027 7037
7028 /* protocol handler */ 7038 /* protocol handler */
7029 /* TODO: figure out a good instance to use here */ 7039 /* TODO: figure out a good instance to use here */