indicate XEP-0033 support, add several TODO items
Denver Gingerich
created 5 years ago
The XEP-0033 support is per https://wiki.soprani.ca/SGX/GroupMMS - we
don't actually support it yet, but we will with subsequent commits.
Just turn it on for now to confirm Cheogram sees it.
Change summary
sgx-bwmsgsv2.rb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Detailed changes
@@ -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 = ''