aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/bee.h2
-rw-r--r--protocols/bee_chat.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/bee.h b/protocols/bee.h
index afe22c95..4a23d00c 100644
--- a/protocols/bee.h
+++ b/protocols/bee.h
@@ -118,7 +118,7 @@ typedef struct bee_ui_funcs {
gboolean (*chat_log)(bee_t *bee, struct groupchat *c, const char *text);
gboolean (*chat_msg)(bee_t *bee, struct groupchat *c, bee_user_t *bu, const char *msg, time_t sent_at);
gboolean (*chat_add_user)(bee_t *bee, struct groupchat *c, bee_user_t *bu);
- gboolean (*chat_remove_user)(bee_t *bee, struct groupchat *c, bee_user_t *bu);
+ gboolean (*chat_remove_user)(bee_t *bee, struct groupchat *c, bee_user_t *bu, const char *reason);
gboolean (*chat_topic)(bee_t *bee, struct groupchat *c, const char *new_topic, bee_user_t *bu);
gboolean (*chat_name_hint)(bee_t *bee, struct groupchat *c, const char *name);
gboolean (*chat_invite)(bee_t *bee, bee_user_t *bu, const char *name, const char *msg);
diff --git a/protocols/bee_chat.c b/protocols/bee_chat.c
index be193405..6ea86c3a 100644
--- a/protocols/bee_chat.c
+++ b/protocols/bee_chat.c
@@ -229,7 +229,7 @@ void imcb_chat_remove_buddy(struct groupchat *c, const char *handle, const char
}
if (bee->ui->chat_remove_user && bu) {
- bee->ui->chat_remove_user(bee, c, bu);
+ bee->ui->chat_remove_user(bee, c, bu, reason);
}
}