Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Commit

Permalink
Resubmitting workaround for #143
Browse files Browse the repository at this point in the history
This bug still exists, hence resubmitting workaround proposed earlier by others.
  • Loading branch information
lupinglade committed Apr 1, 2013
1 parent 611dc1b commit 6916787
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/siriproxy/connection.rb
Expand Up @@ -175,6 +175,11 @@ def flush_unzipped_output
end

def prep_received_object(object)
#workaround for #143
if object["class"] == "FinishSpeech" or object["class"] == "SpeechRecognized"
@block_rest_of_session = false
end

if object["refId"] == self.last_ref_id && @block_rest_of_session
puts "[Info - Dropping Object from Guzzoni] #{object["class"]}" if $LOG_LEVEL > 1
pp object if $LOG_LEVEL > 3
Expand Down

0 comments on commit 6916787

Please sign in to comment.