lib/blather/stanza/iq/roster.rb in blather-0.6.2 vs lib/blather/stanza/iq/roster.rb in blather-0.7.0

- old
+ new

@@ -97,10 +97,10 @@ # Set the JID of the item # # @param [Blather::JID, String, nil] jid the new JID def jid=(jid) - write_attr :jid, jid + write_attr :jid, (jid.nil?) ? nil : JID.new(jid).stripped end # Get the item name # # @return [String, nil] \ No newline at end of file