pass on to_catapult() ret val instead of ignoring

Denver Gingerich created

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.

Change summary

sgx-bwmsgsv2.rb | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

Detailed changes

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..."