Changeset e6d6047


Ignore:
Timestamp:
2006-04-03T20:21:35Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
f8de26f
Parents:
57ef864
Message:

Added/Fixed calls to show_got_added() in all IM-modules, now to fill in that
call. (It should ask the user if he/she wants to add a buddy to his/her list.)

Location:
protocols
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    r57ef864 re6d6047  
    10451045         */
    10461046        if(find_buddy(GJ_GC(jap->gjc), jap->user) == NULL) {
    1047                 show_got_added(GJ_GC(jap->gjc), NULL, jap->user, NULL, NULL);
     1047                show_got_added(GJ_GC(jap->gjc), jap->user, NULL);
    10481048        }
    10491049        g_free(jap->user);
  • protocols/msn/msn_util.c

    r57ef864 re6d6047  
    130130{
    131131        msn_buddy_list_add( bla->gc, "AL", bla->handle, bla->realname );
     132       
     133        if( find_buddy( bla->gc, bla->handle ) == NULL )
     134                show_got_added( bla->gc, bla->handle, NULL );
    132135       
    133136        g_free( bla->handle );
  • protocols/nogaim.c

    r57ef864 re6d6047  
    566566/* prpl.c */
    567567
    568 void show_got_added( struct gaim_connection *gc, char *id, char *handle, const char *realname, const char *msg )
     568void show_got_added( struct gaim_connection *gc, char *handle, const char *realname )
    569569{
    570570        return;
  • protocols/nogaim.h

    r57ef864 re6d6047  
    244244
    245245/* prpl.c */
    246 G_MODULE_EXPORT void show_got_added( struct gaim_connection *gc, char *id, char *handle, const char *realname, const char *msg );
     246G_MODULE_EXPORT void show_got_added( struct gaim_connection *gc, char *handle, const char *realname );
    247247
    248248/* server.c */                   
  • protocols/oscar/oscar.c

    r57ef864 re6d6047  
    11191119        aim_ssi_auth_reply(od->sess, od->conn, uin, 1, "");
    11201120        // aim_send_im_ch4(od->sess, uin, AIM_ICQMSG_AUTHGRANTED, &message);
    1121         show_got_added(data->gc, NULL, uin, NULL, NULL);
     1121        if(find_buddy(data->gc, uin) == NULL)
     1122                show_got_added(data->gc, uin, NULL);
    11221123       
    11231124        g_free(uin);
  • protocols/oscar/service.c

    r57ef864 re6d6047  
    733733        int tlvlen;
    734734
    735         data = AIM_ICQ_STATE_WEBAWARE | AIM_ICQ_STATE_HIDEIP | status; /* yay for error checking ;^) */
     735        data = AIM_ICQ_STATE_HIDEIP | status; /* yay for error checking ;^) */
    736736
    737737        tlvlen = aim_addtlvtochain32(&tl, 0x0006, data);
Note: See TracChangeset for help on using the changeset viewer.