Ignore:
Timestamp:
2010-08-07T21:06:24Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
b890626
Parents:
7b87539
Message:

Allow protocol modules to keep per-contact protocol-specific data. Use
this in the Twitter module to remember the id and timestamp of a contact's
last tweet, which can later be used for simple replies/retweets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/bee_user.c

    r7b87539 r203a2d2  
    4343        if( bee->ui->user_new )
    4444                bee->ui->user_new( bee, bu );
     45        if( ic->acc->prpl->buddy_data_add )
     46                ic->acc->prpl->buddy_data_add( bu );
    4547       
    4648        /* Offline by default. This will set the right flags. */
     
    5759        if( bee->ui->user_free )
    5860                bee->ui->user_free( bee, bu );
     61        if( bu->ic->acc->prpl->buddy_data_free )
     62                bu->ic->acc->prpl->buddy_data_free( bu );
    5963       
    6064        g_free( bu->handle );
Note: See TracChangeset for help on using the changeset viewer.