Mercurial > pidgin.yaz
diff src/server.c @ 6444:601c2a52d74a
[gaim-migrate @ 6953]
Some buddy pounce fixes from Kevin Stange. He says, "GAIM_TYPED = typing
stopped event, GAIM_TYPING = typing started event (before it was GAIM_TYPED
& GAIM_TYPING both were typing started). this also makes pounce sounds work
(pounce file string error) and the start-typing event is now maintained
when the pounce file is read on startup. that last one was another mistake
with a string value in the pounces.xml file"
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 13 Aug 2003 06:05:03 +0000 |
parents | 96de6d9eb422 |
children | ccfdf9f2cdd1 |
line wrap: on
line diff
--- a/src/server.c Tue Aug 12 23:32:00 2003 +0000 +++ b/src/server.c Wed Aug 13 06:05:03 2003 +0000 @@ -1193,7 +1193,12 @@ gaim_event_broadcast(event_got_typing, gc, name); if (b != NULL) - gaim_pounce_execute(gc->account, name, GAIM_POUNCE_TYPING); + if (state == GAIM_TYPING) + gaim_pounce_execute(gc->account, name, + GAIM_POUNCE_TYPING); + else + gaim_pounce_execute(gc->account, name, + GAIM_POUNCE_TYPING_STOPPED); if (timeout > 0) gaim_im_start_typing_timeout(im, timeout);