Ignore:
Timestamp:
2006-10-07T17:46:28Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
038d17f
Parents:
090f1cb
Message:

Added SRV lookups to automatically find out the correct server for a
domain.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/presence.c

    r090f1cb r36e9f62  
    3838                *s = 0;
    3939       
     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. */
    4043        if( type == NULL )
    4144                serv_got_update( gc, from, 1, 0, 0, 0, 0, 0 );
     
    8487       
    8588        node = jabber_make_packet( "presence", NULL, NULL, NULL );
     89        xt_add_child( node, xt_new_node( "priority", set_getstr( &gc->acc->set, "priority" ), NULL ) );
    8690        if( show && *show )
    8791                xt_add_child( node, xt_new_node( "show", show, NULL ) );
    8892        if( status )
    8993                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 ) );
    9394       
    9495        st = jabber_write_packet( gc, node );
Note: See TracChangeset for help on using the changeset viewer.