lib/customer.rb 🔗
@@ -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])