Temp logs

Stephen Paul Weber created

Change summary

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

Detailed changes

lib/trust_level_repo.rb 🔗

@@ -47,11 +47,15 @@ class TrustLevelRepo
 		return if from =~ /^$|^[^+]/ # don't count short codes
 
 		body = stanza.body.to_s
-		return if body =~ /^$|http|code/i
+		if body =~ /^$|http|code/i
+			LOG.info "Body is no good: #{body}"
+			return
+		end
 
 		redis.sismember("jmp_blocked_activation_source", from).then do |blocked|
 			next if blocked
 
+			LOG.info "WRITE inviter: #{customer.customer_id} => #{stanza.from.node}"
 			redis.set(
 				"jmp_customer_activater-#{customer.customer_id}", stanza.from.node, "NX"
 			)