diff options
author | Wilmer van der Gaast <wilmer@google.com> | 2010-08-23 11:34:36 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@google.com> | 2010-08-23 11:34:36 +0100 |
commit | 1aa74f559af18e06195f34b721d65d69c29fcc0f (patch) | |
tree | bd3dbb8bd3e86c1d885e2d3ef245ec6091c31040 /protocols/bee.h | |
parent | 241f9f6d9135048578ad603485740b73402edd8a (diff) |
Process incoming XMPP groupchat invites in a saner way: Create a temporary
channel the user can easily /join.
Diffstat (limited to 'protocols/bee.h')
-rw-r--r-- | protocols/bee.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/bee.h b/protocols/bee.h index 2fd3562e..b99c8de7 100644 --- a/protocols/bee.h +++ b/protocols/bee.h @@ -122,6 +122,7 @@ typedef struct bee_ui_funcs gboolean (*chat_remove_user)( bee_t *bee, struct groupchat *c, bee_user_t *bu ); gboolean (*chat_topic)( bee_t *bee, struct groupchat *c, const char *new, 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 ); struct file_transfer* (*ft_in_start)( bee_t *bee, bee_user_t *bu, const char *file_name, size_t file_size ); gboolean (*ft_out_start)( struct im_connection *ic, struct file_transfer *ft ); @@ -174,5 +175,6 @@ G_MODULE_EXPORT void imcb_chat_add_buddy( struct groupchat *c, const char *handl G_MODULE_EXPORT void imcb_chat_remove_buddy( struct groupchat *c, const char *handle, const char *reason ); G_MODULE_EXPORT int bee_chat_msg( bee_t *bee, struct groupchat *c, const char *msg, int flags ); G_MODULE_EXPORT struct groupchat *bee_chat_by_title( bee_t *bee, struct im_connection *ic, const char *title ); +G_MODULE_EXPORT void imcb_chat_invite( struct im_connection *ic, const char *name, const char *who, const char *msg ); #endif /* __BEE_H__ */ |