diff options
author | dequis <dx@dxzone.com.ar> | 2015-12-08 19:31:05 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2016-03-20 00:58:05 -0300 |
commit | a42fda42abad6af64ac9a905856ee9a3095954cd (patch) | |
tree | 25ed1239ee6f58f39fa98d54ea02c1c1999bff92 /protocols/bee.h | |
parent | 14f912d4c1e818d39234c874036e4fe60227d1dc (diff) |
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/
Diffstat (limited to 'protocols/bee.h')
-rw-r--r-- | protocols/bee.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |