From a42fda42abad6af64ac9a905856ee9a3095954cd Mon Sep 17 00:00:00 2001 From: dequis Date: Tue, 8 Dec 2015 19:31:05 -0300 Subject: Add imcb_buddy_nick_change(), like nick_hint but stronger nick_hint only works when creating new users, it's a no-op after the user is online. This new function takes care of nick changes after that. It also helps clean up couple of hacks in irc_im.c \o/ --- protocols/bee.h | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/bee.h') diff --git a/protocols/bee.h b/protocols/bee.h index 4a053845..d22e4d85 100644 --- a/protocols/bee.h +++ b/protocols/bee.h @@ -130,6 +130,7 @@ typedef struct bee_ui_funcs { void (*ft_finished)(struct im_connection *ic, struct file_transfer *ft); void (*log)(bee_t *bee, const char *tag, const char *msg); + gboolean (*user_nick_change)(bee_t *bee, bee_user_t *bu, const char *hint); } bee_ui_funcs_t; -- cgit v1.2.3