diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-24 13:19:52 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-24 13:19:52 +0100 |
commit | ea728e661f521405c2883c70865d563750223770 (patch) | |
tree | 31ee3abe6715bf4b75a895eb35d76b2026d5efec /protocols/bee_chat.c | |
parent | 9b1d2d6fa7edb911e3dbcd8785aaa797ebb20d0a (diff) | |
parent | bd599b9aeabee36ac6fdb379ca09aec27cce13a4 (diff) |
Merging mainline.
Diffstat (limited to 'protocols/bee_chat.c')
-rw-r--r-- | protocols/bee_chat.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/bee_chat.c b/protocols/bee_chat.c index 3be6f189..0314cae5 100644 --- a/protocols/bee_chat.c +++ b/protocols/bee_chat.c @@ -232,3 +232,11 @@ struct groupchat *bee_chat_by_title( bee_t *bee, struct im_connection *ic, const return NULL; } + +void imcb_chat_invite( struct im_connection *ic, const char *name, const char *who, const char *msg ) +{ + bee_user_t *bu = bee_user_by_handle( ic->bee, ic, who ); + + if( bu && ic->bee->ui->chat_invite ) + ic->bee->ui->chat_invite( ic->bee, bu, name, msg ); +} |