@@ -952,6 +952,7 @@ class WebhookHandler < Goliath::API
return [200, {}, "OK"]
end
+ # TODO: add 'errorCode' and/or 'description' val
# create an error reply to the bare message
msg = Blather::StanzaError.new(
msg,
@@ -984,11 +985,6 @@ class WebhookHandler < Goliath::API
# TODO: make prettier: this should be done above
others_num = params['_json'][0]['to']
- when 'waiting'- # TODO: update above label- # can't really do anything with it; nice to know- puts "message with id #{id} waiting"- return [200, {}, "OK"]
else
# TODO: notify somehow of unknown state receivd?
puts "message with id #{id} has "\