Changeset 36e9f62 for protocols/jabber/presence.c
- Timestamp:
- 2006-10-07T17:46:28Z (18 years ago)
- Branches:
- master
- Children:
- 038d17f
- Parents:
- 090f1cb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/presence.c
r090f1cb r36e9f62 38 38 *s = 0; 39 39 40 /* Will implement better parsing of away states/msgs when we 41 finally do those API changes. Which will probably be after 42 merging this module into the main tree. */ 40 43 if( type == NULL ) 41 44 serv_got_update( gc, from, 1, 0, 0, 0, 0, 0 ); … … 84 87 85 88 node = jabber_make_packet( "presence", NULL, NULL, NULL ); 89 xt_add_child( node, xt_new_node( "priority", set_getstr( &gc->acc->set, "priority" ), NULL ) ); 86 90 if( show && *show ) 87 91 xt_add_child( node, xt_new_node( "show", show, NULL ) ); 88 92 if( status ) 89 93 xt_add_child( node, xt_new_node( "status", status, NULL ) ); 90 /* if( set_getint( &gc->acc->set, "priority" ) != 0 ) */91 /* Let's just send this every time... */92 xt_add_child( node, xt_new_node( "priority", set_getstr( &gc->acc->set, "priority" ), NULL ) );93 94 94 95 st = jabber_write_packet( gc, node );
Note: See TracChangeset
for help on using the changeset viewer.