Fix misreverting from 177158.

(closes issue #15725)
Reported by: shanermn
Patches: 
      v1-15725.patch uploaded by dimas (license 88)
Tested by: shanermn


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@238181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeff Peeler
2010-01-06 20:37:18 +00:00
parent 0a4f80cbcf
commit c6e038ba16

View File

@@ -3032,7 +3032,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, struc
don't want to block, but we do want to at least *try*
to write out all the samples.
*/
if (user->talking && !ast_test_flag64(confflags, CONFFLAG_OPTIMIZETALKER)) {
if (user->talking || !ast_test_flag64(confflags, CONFFLAG_OPTIMIZETALKER)) {
careful_write(fd, f->data.ptr, f->datalen, 0);
}
}