diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-31 22:06:14 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-31 22:06:14 +0200 |
commit | f5c0d8e4dd3ce01945a6334a5d87c89a9f43b16b (patch) | |
tree | e741ed193ad1921c695a8aec4c4ea57fe82e7fd7 /protocols/bee_chat.c | |
parent | 83586911a0aa768ed196051950ebd8ffce37d467 (diff) | |
parent | 31dbb90a2d32d6988706ae4b5c2292cd43d89595 (diff) |
Merge mainline stuff.
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 ); +} |