lib/adhearsion/translator/asterisk/component.rb in adhearsion-3.0.0.beta1 vs lib/adhearsion/translator/asterisk/component.rb in adhearsion-3.0.0.beta2

- old
+ new

@@ -26,9 +26,10 @@ return if @complete @complete = true event = Adhearsion::Event::Complete.new reason: reason, recording: recording send_event event call.deregister_component id if call + translator.deregister_component id end def send_event(event) event.component_id = id event.target_call_id = call_id