lib/rews/folder.rb in rews-0.2.4 vs lib/rews/folder.rb in rews-0.2.5
- old
+ new
@@ -300,12 +300,12 @@
raise "no id" if !@id
end
def ==(other)
other.is_a?(DistinguishedFolderId) &&
- @client = other.client &&
- @id = other.id &&
- @mailbox_email = other.mailbox_email
+ @client == other.client &&
+ @id == other.id &&
+ @mailbox_email == other.mailbox_email
end
# a JSON compatible key for persistently identifying this folder
def key(ignore_change_key=false)
key = ["distinguished_folder", id]