Changeset 6b56512 for protocols


Ignore:
Timestamp:
2015-08-08T04:29:49Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
83f179d6
Parents:
4850065
git-author:
dequis <dx@…> (02-08-15 19:21:56)
git-committer:
dequis <dx@…> (08-08-15 04:29:49)
Message:

Pass 'reason' values around in imcb_chat_remove_buddy/chat_remove_user

Location:
protocols
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/bee.h

    r4850065 r6b56512  
    119119        gboolean (*chat_msg)(bee_t *bee, struct groupchat *c, bee_user_t *bu, const char *msg, time_t sent_at);
    120120        gboolean (*chat_add_user)(bee_t *bee, struct groupchat *c, bee_user_t *bu);
    121         gboolean (*chat_remove_user)(bee_t *bee, struct groupchat *c, bee_user_t *bu);
     121        gboolean (*chat_remove_user)(bee_t *bee, struct groupchat *c, bee_user_t *bu, const char *reason);
    122122        gboolean (*chat_topic)(bee_t *bee, struct groupchat *c, const char *new_topic, bee_user_t *bu);
    123123        gboolean (*chat_name_hint)(bee_t *bee, struct groupchat *c, const char *name);
  • protocols/bee_chat.c

    r4850065 r6b56512  
    230230
    231231        if (bee->ui->chat_remove_user && bu) {
    232                 bee->ui->chat_remove_user(bee, c, bu);
     232                bee->ui->chat_remove_user(bee, c, bu, reason);
    233233        }
    234234}
Note: See TracChangeset for help on using the changeset viewer.