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])