Mercurial > pidgin.yaz
comparison src/protocols/yahoo/yahoo.c @ 3768:f53370197bb9
[gaim-migrate @ 3907]
Tri-state typing notification (typing, typed, and no longer typing) by
Nathan D. Walp
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 20 Oct 2002 19:38:36 +0000 |
parents | 34c95669952f |
children | 3fdfe7872118 |
comparison
equal
deleted
inserted
replaced
3767:65e9ea5934c8 | 3768:f53370197bb9 |
---|---|
536 if (!msg) | 536 if (!msg) |
537 return; | 537 return; |
538 | 538 |
539 if (!g_strncasecmp(msg, "TYPING", strlen("TYPING"))) { | 539 if (!g_strncasecmp(msg, "TYPING", strlen("TYPING"))) { |
540 if (*stat == '1') | 540 if (*stat == '1') |
541 serv_got_typing(gc, from, 0); | 541 serv_got_typing(gc, from, 0, TYPING); |
542 else | 542 else |
543 serv_got_typing_stopped(gc, from); | 543 serv_got_typing_stopped(gc, from); |
544 } else if (!g_strncasecmp(msg, "GAME", strlen("GAME"))) { | 544 } else if (!g_strncasecmp(msg, "GAME", strlen("GAME"))) { |
545 struct buddy *bud = find_buddy(gc, from); | 545 struct buddy *bud = find_buddy(gc, from); |
546 void *free1=NULL, *free2=NULL; | 546 void *free1=NULL, *free2=NULL; |