# File lib/jabber4r/jid.rb, line 22 22: def JID.to_jid(id) 23: return id if id.kind_of? JID 24: return JID.new(id) 25: end