Reply to old bot address Keep this deprecation message in so that users with this still in roster know where bot has moved.
1 files changed, 6 insertions(+), 0 deletions(-) M sgx_jmp.rb
M sgx_jmp.rb => sgx_jmp.rb +6 -0
@@ 113,6 113,12 @@ setup( workqueue_count: 0 ) message to: /\Aaccount@/ do |m| self << m.reply.tap do |out| out.body = "This bot is deprecated. Please talk to xmpp:cheogram.com" end end message to: /\Acustomer_/, from: /@#{CONFIG[:sgx]}(\/|\Z)/ do |m| Customer.for_customer_id( m.to.node.delete_prefix("customer_")