diff --git a/lib/bwmsgsv2_repo.rb b/lib/bwmsgsv2_repo.rb index 72a4f5f31e44fdb07e6e60cd01c39ced544090b3..3b691ab0dcb91c9206eb9e75b4eec53db900ff58 100644 --- a/lib/bwmsgsv2_repo.rb +++ b/lib/bwmsgsv2_repo.rb @@ -18,12 +18,12 @@ class Bwmsgsv2Repo def get(customer_id) sgx = @trivial_repo.get(customer_id) fetch_raw(sgx.from_jid).then do |(((ogm_url, fwd_time, fwd), trans_d), reg)| - sgx.with({ + sgx.with( ogm_url: ogm_url, fwd: CustomerFwd.for(uri: fwd, timeout: fwd_time), transcription_enabled: !trans_d, registered?: reg - }.compact) + ) end end