Change summary
sgx_jmp.rb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Detailed changes
@@ -926,7 +926,9 @@ Command.new(
StatsD.increment("changejid.completed")
jid = ProxiedJID.new(customer.jid).unproxied
if jid.domain == CONFIG[:onboarding_domain]
- WelcomeMessage.new(customer, customer.registered?.phone).welcome
+ CustomerRepo.new.find(customer.customer_id).then do |cust|
+ WelcomeMessage.new(cust, customer.registered?.phone).welcome
+ end
end
Command.finish { |reply|
reply.note_type = :info