Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 6443:9e87b873df72 | 6444:601c2a52d74a |
|---|---|
| 1191 b = gaim_find_buddy(gc->account, name); | 1191 b = gaim_find_buddy(gc->account, name); |
| 1192 | 1192 |
| 1193 gaim_event_broadcast(event_got_typing, gc, name); | 1193 gaim_event_broadcast(event_got_typing, gc, name); |
| 1194 | 1194 |
| 1195 if (b != NULL) | 1195 if (b != NULL) |
| 1196 gaim_pounce_execute(gc->account, name, GAIM_POUNCE_TYPING); | 1196 if (state == GAIM_TYPING) |
| 1197 gaim_pounce_execute(gc->account, name, | |
| 1198 GAIM_POUNCE_TYPING); | |
| 1199 else | |
| 1200 gaim_pounce_execute(gc->account, name, | |
| 1201 GAIM_POUNCE_TYPING_STOPPED); | |
| 1197 | 1202 |
| 1198 if (timeout > 0) | 1203 if (timeout > 0) |
| 1199 gaim_im_start_typing_timeout(im, timeout); | 1204 gaim_im_start_typing_timeout(im, timeout); |
| 1200 } | 1205 } |
| 1201 | 1206 |
