Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Commit

Permalink
MXKEmail: force in lowercase the email address
Browse files Browse the repository at this point in the history
- decode in lowercase the cached email addresses
  • Loading branch information
giomfo committed Aug 26, 2019
1 parent 53c54af commit 4577ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MatrixKit/Models/Contact/MXKEmail.m
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ - (id)initWithCoder:(NSCoder *)coder
if (self)
{
_type = [coder decodeObjectForKey:@"type"];
_emailAddress = [coder decodeObjectForKey:@"emailAddress"];
_emailAddress = [[coder decodeObjectForKey:@"emailAddress"] lowercaseString];
}

return self;
Expand Down

0 comments on commit 4577ff5

Please sign in to comment.