diff --git a/sgx-bwmsgsv2.rb b/sgx-bwmsgsv2.rb index 6e36a138141590194fc4e669d411473b7e829a2c..c7a9f92f565e622bda66a2365bde698222953f11 100755 --- a/sgx-bwmsgsv2.rb +++ b/sgx-bwmsgsv2.rb @@ -87,6 +87,7 @@ module SGXbwmsgsv2 @client = SGXClient.new @gateway_features = [ "http://jabber.org/protocol/disco#info", + "http://jabber.org/protocol/address/", "jabber:iq:register" ] @@ -410,9 +411,10 @@ module SGXbwmsgsv2 [{category: 'client', type: 'sms'}] end + # TODO: must re-add stuff so can do ad-hoc commands def self.user_cap_features [ - "urn:xmpp:receipts" + "urn:xmpp:receipts", ] end @@ -755,6 +757,8 @@ class WebhookHandler < Goliath::API use Goliath::Rack::Params def response(env) + # TODO: add timestamp grab here, and MUST include ./tai version + puts 'ENV: ' + env.reject{ |k| k == 'params' }.to_s users_num = ''