From 002c54c08ae2a68f93237dc30f202d13a1754b82 Mon Sep 17 00:00:00 2001 From: Denver Gingerich Date: Sat, 1 Aug 2020 23:13:28 +0000 Subject: [PATCH] pass on to_catapult() ret val instead of ignoring This is a cross-merge of the fix done to sgx-catapult in https://gitlab.com/ossguy/sgx-catapult/commit/89598a8 - it has no effect in sgx-bwmsgsv2 for now, but will help once we cross-merge the blocking code (to be done later). We just have one fix left until we otherwise have fix-/feature-parity with sgx-catapult. --- sgx-bwmsgsv2.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sgx-bwmsgsv2.rb b/sgx-bwmsgsv2.rb index 62c7820e593a2e08afd2500a32b4d2fd6d009e6b..ab1fa1300c36c4f99d7ae06180c9eb520d026a55 100755 --- a/sgx-bwmsgsv2.rb +++ b/sgx-bwmsgsv2.rb @@ -275,9 +275,8 @@ module SGXbwmsgsv2 un = s.at("oob|x > oob|url", oob: "jabber:x:oob") if not un puts "MMSOOB: no url node found so process as normal" - to_catapult(s, nil, num_dest, user_id, token, secret, - usern) - return + return to_catapult(s, nil, num_dest, user_id, token, + secret, usern) end puts "MMSOOB: found a url node - checking if to make MMS..."