Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Resubmitting fix for #143 #500

Merged
merged 1 commit into from

2 participants

@lupinglade

This bug still exists, hence resubmitting fix proposed earlier by others.

@lupinglade lupinglade Resubmitting workaround for #143
This bug still exists, hence resubmitting workaround proposed earlier by others.
6916787
@plamoni plamoni merged commit 58f682a into plamoni:master
@lupinglade lupinglade deleted the unknown repository branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 1, 2013
  1. @lupinglade

    Resubmitting workaround for #143

    lupinglade authored
    This bug still exists, hence resubmitting workaround proposed earlier by others.
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/siriproxy/connection.rb
View
5 lib/siriproxy/connection.rb
@@ -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
Something went wrong with that request. Please try again.