Skip to content

Commit

Permalink
Fix to pass ignore_data flag to sliced messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Tabarez committed Dec 10, 2020
1 parent ba91d2c commit b25dc93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core_components/GodecMessages.cc
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,8 @@ bool ConversationStateDecoderMessage::sliceOut(uint64_t sliceTime, DecoderMessag
} else {
sliceMsg = ConversationStateDecoderMessage::create(sliceTime,
firstMsg->mUtteranceId, false, firstMsg->mConvoId, false);
auto ignoreData = firstMsg->getDescriptor("ignore_data");
(boost::const_pointer_cast<DecoderMessage>(sliceMsg))->addDescriptor("ignore_data", ignoreData);
return true;
}
}
Expand Down

0 comments on commit b25dc93

Please sign in to comment.