Changeset 61dddd0


Ignore:
Timestamp:
2006-03-18T08:33:33Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
42d9571
Parents:
8ba511d
Message:

Fixed #111, Jabber away states get set correctly at connect-time now.

Location:
protocols
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    r8ba511d r61dddd0  
    12321232        }
    12331233
    1234         x = jutil_presnew(0, NULL, "Online");
    1235         gjab_send(gjc, x);
    1236         xmlnode_free(x);
     1234        account_online(GJ_GC(gjc));
    12371235}
    12381236
     
    12501248                } else {
    12511249                        gjab_reqroster(gjc);
    1252                         account_online(GJ_GC(gjc));
    12531250                       
    12541251                        ((struct jabber_data *)GJ_GC(gjc)->proto_data)->did_import = TRUE;
  • protocols/msn/msn_util.c

    r8ba511d r61dddd0  
    5050       
    5151        account_online( gc );
    52        
    53         /* account_online() sets an away state if there is any, so only
    54            execute this code if we're not away. */
    55         if( md->away_state == msn_away_state_list )
    56         {
    57                 g_snprintf( buf, sizeof( buf ), "CHG %d %s %d\r\n", ++md->trId, md->away_state->code, 0 );
    58                 return( msn_write( gc, buf, strlen( buf ) ) );
    59         }
    6052       
    6153        return( 0 );
  • protocols/nogaim.c

    r8ba511d r61dddd0  
    364364        gc->flags |= OPT_LOGGED_IN;
    365365       
    366         if( u && u->away ) proto_away( gc, u->away );
     366        /* Also necessary when we're not away, at least for some of the
     367           protocols. */
     368        proto_away( gc, u->away );
    367369       
    368370        if( strcmp( gc->prpl->name, "ICQ" ) == 0 )
Note: See TracChangeset for help on using the changeset viewer.