Changeset 4eef271
- Timestamp:
- 2010-06-23T00:13:46Z (14 years ago)
- Branches:
- master
- Children:
- 90ba416
- Parents:
- 04a927c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/user-guide/commands.xml
r04a927c r4eef271 1006 1006 </bitlbee-setting> 1007 1007 1008 <bitlbee-setting name="user_agent" type="string" scope="account"> 1009 <default>BitlBee</default> 1010 1011 <description> 1012 <para> 1013 Some Jabber servers are configured to only allow a few (or even just one) kinds of XMPP clients to connect to them. 1014 </para> 1015 1016 <para> 1017 You can change this setting to make BitlBee present itself as a different client, so that you can still connect to these servers. 1018 </para> 1019 </description> 1020 </bitlbee-setting> 1021 1008 1022 <bitlbee-setting name="web_aware" type="string" scope="account"> 1009 1023 <default>false</default> -
protocols/jabber/iq.c
r04a927c r4eef271 65 65 if( strcmp( s, XMLNS_VERSION ) == 0 ) 66 66 { 67 xt_add_child( reply, xt_new_node( "name", "BitlBee", NULL ) );67 xt_add_child( reply, xt_new_node( "name", set_getstr( &ic->acc->set, "user_agent" ), NULL ) ); 68 68 xt_add_child( reply, xt_new_node( "version", BITLBEE_VERSION, NULL ) ); 69 69 xt_add_child( reply, xt_new_node( "os", ARCH, NULL ) ); … … 105 105 xt_add_attr( c, "category", "client" ); 106 106 xt_add_attr( c, "type", "pc" ); 107 xt_add_attr( c, "name", "BitlBee");107 xt_add_attr( c, "name", set_getstr( &ic->acc->set, "user_agent" ) ); 108 108 xt_add_child( reply, c ); 109 109 -
protocols/jabber/jabber.c
r04a927c r4eef271 79 79 s = set_add( &acc->set, "tls", "try", set_eval_tls, acc ); 80 80 s->flags |= ACC_SET_OFFLINE_ONLY; 81 82 s = set_add( &acc->set, "user_agent", "BitlBee", NULL, acc ); 81 83 82 84 s = set_add( &acc->set, "xmlconsole", "false", set_eval_bool, acc );
Note: See TracChangeset
for help on using the changeset viewer.