Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/account.c

    r6b13103 r11e7828  
    2929
    3030static const char* account_protocols_local[] = {
    31         "gg", NULL
     31        "gg", "whatsapp", NULL
    3232};
    3333
     
    351351void account_on( bee_t *bee, account_t *a )
    352352{
    353         GHashTableIter nicks;
    354         gpointer k, v;
    355 
    356353        if( a->ic )
    357354        {
     
    367364        if( a->ic && !( a->ic->flags & ( OPT_SLOW_LOGIN | OPT_LOGGED_IN ) ) )
    368365                a->ic->keepalive = b_timeout_add( 120000, account_on_timeout, a->ic );
    369 
    370         if( a->flags & ACC_FLAG_LOCAL )
    371         {
    372                 g_hash_table_iter_init(&nicks, a->nicks);
    373                 while( g_hash_table_iter_next( &nicks, &k, &v ) )
    374                 {
    375                         a->prpl->add_buddy( a->ic, (char*) k, NULL );
    376                 }
    377         }
    378366}
    379367
Note: See TracChangeset for help on using the changeset viewer.