Mercurial > pidgin
comparison src/buddy_chat.c @ 3226:aba6ee7f8aba
[gaim-migrate @ 3243]
Attempt #11. This got embarrassing at attempt 3 -- now it's just ludicrous.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 06 May 2002 19:17:14 +0000 |
parents | bd66e16f9250 |
children | 671667425d27 |
comparison
equal
deleted
inserted
replaced
3225:bd66e16f9250 | 3226:aba6ee7f8aba |
---|---|
713 if (b->makesound) | 713 if (b->makesound) |
714 play_sound(SND_CHAT_YOU_SAY); | 714 play_sound(SND_CHAT_YOU_SAY); |
715 flag |= WFLAG_SEND; | 715 flag |= WFLAG_SEND; |
716 } else { | 716 } else { |
717 flag |= WFLAG_RECV; | 717 flag |= WFLAG_RECV; |
718 if (find_nick(g->gc, message)) | |
719 flag |= WFLAG_NICK; | |
718 } | 720 } |
719 g_free(str); | 721 g_free(str); |
720 } | 722 } |
721 | 723 |
722 if (flag & WFLAG_RECV && b->makesound) | 724 if (flag & WFLAG_RECV && b->makesound) { |
723 { | 725 if (flags & WFLAG_NICK && (sound_options & OPT_SOUND_CHAT_NICK)) { |
724 if (sound_options & OPT_SOUND_CHAT_NICK && find_nick(b->gc, message)) | |
725 play_sound(SND_CHAT_NICK); | 726 play_sound(SND_CHAT_NICK); |
726 else | 727 } else { |
727 play_sound(SND_CHAT_SAY); | 728 play_sound(SND_CHAT_SAY); |
728 if(find_nick(b->gc, message)) | 729 } |
729 flag |= WFLAG_NICK; | 730 } |
730 } | 731 write_to_conv(b, message, flag, who, mtime, -1); |
731 write_to_conv(b, message, flag, who, mtime, -1); | |
732 } | 732 } |
733 | 733 |
734 | 734 |
735 | 735 |
736 void whisper_callback(GtkWidget *widget, struct conversation *b) | 736 void whisper_callback(GtkWidget *widget, struct conversation *b) |