Work fork of the thin proxy SGX that represents JMP.chat itself
1# frozen_string_literal: true 2 3require "blather" 4 5require_relative "proxied_jid" 6 7Blather::JID.class_eval do 8 def onboarding? 9 ProxiedJID.new(self).unproxied.domain == CONFIG[:onboarding_domain] 10 end 11end