~singpolyma/sgx-jmp

e983901c257334b1c12c64f5a33c1ea7383a3b06 — Stephen Paul Weber 4 months ago af2f430
Don't allow invalid jids to be constructed
1 files changed, 1 insertions(+), 0 deletions(-)

M lib/customer.rb
M lib/customer.rb => lib/customer.rb +1 -0
@@ 106,6 106,7 @@ class Customer
	end

	def fetch_pep(node, from_tel=nil)
		from_tel = nil unless from_tel.to_s.start_with?("+")
		iq = Blather::Stanza::PubSub::Items.new(:get)
		iq.node = node
		iq.from = Blather::JID.new(from_tel, CONFIG[:component][:jid])