Mercurial > pidgin
comparison src/protocols/msn/msn.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 | a20bf3d247ff |
children | 630826d97d54 |
comparison
equal
deleted
inserted
replaced
3767:65e9ea5934c8 | 3768:f53370197bb9 |
---|---|
654 if (!content) | 654 if (!content) |
655 return; | 655 return; |
656 if (!g_strncasecmp(content, "Content-Type: text/x-msmsgscontrol\r\n", | 656 if (!g_strncasecmp(content, "Content-Type: text/x-msmsgscontrol\r\n", |
657 strlen( "Content-Type: text/x-msmsgscontrol\r\n"))) { | 657 strlen( "Content-Type: text/x-msmsgscontrol\r\n"))) { |
658 if (strstr(content,"TypingUser: ") && !ms->chat) { | 658 if (strstr(content,"TypingUser: ") && !ms->chat) { |
659 serv_got_typing(ms->gc, ms->msguser, MSN_TYPING_RECV_TIMEOUT); | 659 serv_got_typing(ms->gc, ms->msguser, MSN_TYPING_RECV_TIMEOUT, TYPING); |
660 return; | 660 return; |
661 } | 661 } |
662 | 662 |
663 } else if (!g_strncasecmp(content, "Content-Type: text/plain", | 663 } else if (!g_strncasecmp(content, "Content-Type: text/plain", |
664 strlen("Content-Type: text/plain"))) { | 664 strlen("Content-Type: text/plain"))) { |