Changeset 7e83e8e4 for protocols


Ignore:
Timestamp:
2010-06-05T00:35:17Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
c133d4b8
Parents:
2b8473c
Message:

Inform the UI about group changes. This is important if the user has
group channels.

Location:
protocols
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/bee.h

    r2b8473c r7e83e8e4  
    8383        gboolean (*user_free)( bee_t *bee, struct bee_user *bu );
    8484        gboolean (*user_fullname)( bee_t *bee, bee_user_t *bu );
     85        gboolean (*user_group)( bee_t *bee, bee_user_t *bu );
    8586        gboolean (*user_status)( bee_t *bee, struct bee_user *bu, struct bee_user *old );
    8687        gboolean (*user_msg)( bee_t *bee, bee_user_t *bu, const char *msg, time_t sent_at );
  • protocols/nogaim.c

    r2b8473c r7e83e8e4  
    379379       
    380380        bu->group = bee_group_by_name( bee, group, TRUE );
     381       
     382        if( bee->ui->user_group )
     383                bee->ui->user_group( bee, bu );
    381384}
    382385
Note: See TracChangeset for help on using the changeset viewer.