[Pidgin] #15681: uninitialized meanwhile account options

Pidgin trac at pidgin.im
Fri Jul 5 18:29:18 EDT 2013


#15681: uninitialized meanwhile account options
--------------------+-----------------------
 Reporter:  arbab   |       Owner:  siege
     Type:  patch   |      Status:  new
Milestone:          |   Component:  Sametime
  Version:  2.10.7  |  Resolution:
 Keywords:          |
--------------------+-----------------------
Description changed by rekkanoryo:

Old description:

> The purple settings client_id_val, client_major, and client_minor are
> read and used during sametime login.  With Pidgin, you can specify them
> by directly editing accounts.xml.
>
> However, there is a problem when using BitlBee.  BitlBee configuration is
> done at runtime, and if these options are not initialized with default
> values when the meanwhile plugin is loaded, you are not able to set them
> at all:
>
> 08:40 <@arbab> help purple meanwhile
> 08:40 <@root> BitlBee libpurple module meanwhile (Sametime).
> 08:40 <@root>
> 08:40 <@root> Supported settings:
> 08:40 <@root> * server (Server), string, default:
> 08:40 <@root> * port (Port), integer, default: 1533
> 08:40 <@root> * force_login (Force login (ignore server redirects)),
> boolean, default: false
> 08:40 <@root> * fake_client_id (Hide client identity), boolean, default:
> false
>
> Using the attached patch, the three other options are listed as well:
>
> 08:45 <@root> * client_id_val (Fake client ID to use), integer, default:
> 4098
> 08:45 <@root> * client_major (Fake major version), integer, default: 30
> 08:45 <@root> * client_minor (Fake minor version), integer, default: 6511

New description:

 The purple settings client_id_val, client_major, and client_minor are read
 and used during sametime login.  With Pidgin, you can specify them by
 directly editing accounts.xml.

 However, there is a problem when using !BitlBee.  !BitlBee configuration
 is done at runtime, and if these options are not initialized with default
 values when the meanwhile plugin is loaded, you are not able to set them
 at all:

 08:40 <@arbab> help purple meanwhile
 08:40 <@root> !BitlBee libpurple module meanwhile (Sametime).
 08:40 <@root>
 08:40 <@root> Supported settings:
 08:40 <@root> * server (Server), string, default:
 08:40 <@root> * port (Port), integer, default: 1533
 08:40 <@root> * force_login (Force login (ignore server redirects)),
 boolean, default: false
 08:40 <@root> * fake_client_id (Hide client identity), boolean, default:
 false

 Using the attached patch, the three other options are listed as well:

 08:45 <@root> * client_id_val (Fake client ID to use), integer, default:
 4098
 08:45 <@root> * client_major (Fake major version), integer, default: 30
 08:45 <@root> * client_minor (Fake minor version), integer, default: 6511

--

-- 
Ticket URL: <https://developer.pidgin.im/ticket/15681#comment:5>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list