Changeset a6df0b5
- Timestamp:
- 2007-11-14T23:29:43Z (17 years ago)
- Branches:
- master
- Children:
- ebb95b6
- Parents:
- eda54e4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/user-guide/commands.xml
reda54e4 ra6df0b5 681 681 </bitlbee-setting> 682 682 683 <bitlbee-setting name="xmlconsole" type="boolean" scope="account"> 684 <default>false</default> 685 686 <description> 687 <para> 688 The Jabber module allows you to add a buddy <emphasis>xmlconsole</emphasis> to your contact list, which will then show you the raw XMPP stream between you and the server. You can also send XMPP packets to this buddy, which will then be sent to the server. 689 </para> 690 <para> 691 If you want to enable this XML console permanently (and at login time already), you can set this setting. 692 </para> 693 </description> 694 </bitlbee-setting> 695 683 696 <bitlbee-command name="rename"> 684 697 <short-description>Rename (renick) a buddy</short-description> -
protocols/jabber/jabber.c
reda54e4 ra6df0b5 54 54 55 55 s = set_add( &acc->set, "tls", "try", set_eval_tls, acc ); 56 s->flags |= ACC_SET_OFFLINE_ONLY; 57 58 s = set_add( &acc->set, "xmlconsole", "false", set_eval_bool, acc ); 56 59 s->flags |= ACC_SET_OFFLINE_ONLY; 57 60 } … … 189 192 imc_logout( ic, TRUE ); 190 193 } 194 195 if( set_getbool( &acc->set, "xmlconsole" ) ) 196 { 197 jd->flags |= JFLAG_XMLCONSOLE; 198 /* Shouldn't really do this at this stage already, maybe. But 199 I think this shouldn't break anything. */ 200 imcb_add_buddy( ic, JABBER_XMLCONSOLE_HANDLE, NULL ); 201 } 191 202 } 192 203
Note: See TracChangeset
for help on using the changeset viewer.