Why is this not working

Stephen Paul Weber created

Change summary

lib/trust_level_repo.rb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

Detailed changes

lib/trust_level_repo.rb 🔗

@@ -49,11 +49,14 @@ class TrustLevelRepo
 		body = stanza.body.to_s
 		return if body =~ /^$|http|code/i
 
+		LOG.info("maybe incoming message: #{from.inspect}")
+
 		redis.sismember("jmp_blocked_activation_source", from).then { |blocked|
 			next if blocked
 
+			LOG.info("write incoming message: #{customer.customer_id}")
 			redis.set(
-				"jmp_customer_activater-#{customer.customer_id}", stanza.from.node, "NX"
+				"jmp_customer_activater-#{customer.customer_id}", from, "NX"
 			)
 		}.catch { |e| LOG.error "incoming_message", e }
 	end