aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/bee_chat.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-24 13:19:52 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-24 13:19:52 +0100
commitea728e661f521405c2883c70865d563750223770 (patch)
tree31ee3abe6715bf4b75a895eb35d76b2026d5efec /protocols/bee_chat.c
parent9b1d2d6fa7edb911e3dbcd8785aaa797ebb20d0a (diff)
parentbd599b9aeabee36ac6fdb379ca09aec27cce13a4 (diff)
Merging mainline.
Diffstat (limited to 'protocols/bee_chat.c')
-rw-r--r--protocols/bee_chat.c8
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 );
+}