Changeset 4eef271 for protocols/jabber
- Timestamp:
- 2010-06-23T00:13:46Z (14 years ago)
- Branches:
- master
- Children:
- 90ba416
- Parents:
- 04a927c
- Location:
- protocols/jabber
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.