]> err.no Git - sope/blobdiff - sope-ical/NGiCal/iCalPerson.m
minor bugfix
[sope] / sope-ical / NGiCal / iCalPerson.m
index 888c92be25999f0c385e43052c8e46bdbbe7d0dd..e4e99a04e757e68a1a5d68c090bf9afcd94b39dc 100644 (file)
 }
 
 - (BOOL)hasSameEmailAddress:(iCalPerson *)_other {
-  return IS_EQUAL([self email], [_other email], isEqualToString:);
+  return IS_EQUAL([[self email] lowercaseString],
+                  [[_other email] lowercaseString],
+                  isEqualToString:);
 }
 
 /* descriptions */