diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-15 13:24:25 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-12-15 13:24:25 +0100 |
commit | bd69a219c0a618354fd80a98dd0d9a04fee755e0 (patch) | |
tree | b4477537e48c6d7b2e5a261aa860a0688d69fb66 /protocols/yahoo/yahoo.c | |
parent | 2983f5e8c2d3046bf01337e5caefa3af55ba6bff (diff) | |
parent | bf02a679c61b0f030ee8f2f01698699a7775f7d5 (diff) |
Merge Wilmer
Diffstat (limited to 'protocols/yahoo/yahoo.c')
-rw-r--r-- | protocols/yahoo/yahoo.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/protocols/yahoo/yahoo.c b/protocols/yahoo/yahoo.c index e55b30af..832d1ab4 100644 --- a/protocols/yahoo/yahoo.c +++ b/protocols/yahoo/yahoo.c @@ -634,8 +634,14 @@ void ext_yahoo_got_file( int id, char *who, char *url, long expires, char *msg, void ext_yahoo_typing_notify( int id, char *who, int stat ) { struct gaim_connection *gc = byahoo_get_gc_by_id( id ); - - serv_got_typing( gc, who, 1 ); + if (stat == 1) { + /* User is typing */ + serv_got_typing( gc, who, 1, 1 ); + } + else { + /* User stopped typing */ + serv_got_typing( gc, who, 1, 0 ); + } } void ext_yahoo_system_message( int id, char *msg ) |