comparison src/server.c @ 3060:4f2f12bf4408

[gaim-migrate @ 3074] Code cleanups by Robert McQueen. Michael Golden replaced the multiple per-account signon windows with a single signon window showing the status of all your accounts committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 16 Mar 2002 00:32:53 +0000
parents 1143524a2eaf
children cbb8b9b4ca4a
comparison
equal deleted inserted replaced
3059:966c4e460ebb 3060:4f2f12bf4408
582 if (cnv == NULL) { 582 if (cnv == NULL) {
583 cnv = new_conversation(name); 583 cnv = new_conversation(name);
584 set_convo_gc(cnv, gc); 584 set_convo_gc(cnv, gc);
585 } 585 }
586 if (new_conv && (sound_options & OPT_SOUND_FIRST_RCV)) 586 if (new_conv && (sound_options & OPT_SOUND_FIRST_RCV))
587 play_sound(FIRST_RECEIVE); 587 play_sound(SND_FIRST_RECEIVE);
588 else if (cnv->makesound && (sound_options & OPT_SOUND_RECV)) 588 else if (cnv->makesound)
589 play_sound(RECEIVE); 589 play_sound(SND_RECEIVE);
590 590
591 write_to_conv(cnv, message, away | WFLAG_RECV, NULL, mtime, len); 591 write_to_conv(cnv, message, away | WFLAG_RECV, NULL, mtime, len);
592 } 592 }
593 593
594 /* regardless of whether we queue it or not, we should send an auto-response. That is, 594 /* regardless of whether we queue it or not, we should send an auto-response. That is,
643 if (cnv == NULL) { 643 if (cnv == NULL) {
644 cnv = new_conversation(name); 644 cnv = new_conversation(name);
645 set_convo_gc(cnv, gc); 645 set_convo_gc(cnv, gc);
646 } 646 }
647 if (new_conv && (sound_options & OPT_SOUND_FIRST_RCV)) 647 if (new_conv && (sound_options & OPT_SOUND_FIRST_RCV))
648 play_sound(FIRST_RECEIVE); 648 play_sound(SND_FIRST_RECEIVE);
649 else if (cnv->makesound && (sound_options & OPT_SOUND_RECV)) 649 else if (cnv->makesound)
650 play_sound(RECEIVE); 650 play_sound(SND_RECEIVE);
651 651
652 set_convo_name(cnv, name); 652 set_convo_name(cnv, name);
653 653
654 write_to_conv(cnv, message, away | WFLAG_RECV, NULL, mtime, len); 654 write_to_conv(cnv, message, away | WFLAG_RECV, NULL, mtime, len);
655 } 655 }