aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/bee_user.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-04-13 12:20:04 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2010-04-13 12:20:04 +0200
commit573dab069d2c35910b3cdede3374a5749cb20a89 (patch)
treecf36280ec63a24854c1d1ddd938f4f189358f854 /protocols/bee_user.c
parent3a9b1236ab5e089b7413486d7d6bf61274a61d2a (diff)
Incoming typing notifications.
Diffstat (limited to 'protocols/bee_user.c')
-rw-r--r--protocols/bee_user.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/protocols/bee_user.c b/protocols/bee_user.c
index f856e7a2..7a38882b 100644
--- a/protocols/bee_user.c
+++ b/protocols/bee_user.c
@@ -193,3 +193,14 @@ void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, ui
else
imcb_log( ic, "Message from unknown handle %s:\n%s", handle, msg );
}
+
+void imcb_buddy_typing( struct im_connection *ic, char *handle, uint32_t flags )
+{
+ bee_user_t *bu;
+
+ if( ic->bee->ui->user_typing &&
+ ( bu = bee_user_by_handle( ic->bee, ic, handle ) ) )
+ {
+ ic->bee->ui->user_typing( ic->bee, bu, flags );
+ }
+}