From 573dab069d2c35910b3cdede3374a5749cb20a89 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Tue, 13 Apr 2010 12:20:04 +0200 Subject: Incoming typing notifications. --- protocols/bee_user.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'protocols/bee_user.c') 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 ); + } +} -- cgit v1.2.3