Skip to content

Commit

Permalink
add _directUserId to MXRoomSummary hash function
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorFedorchuk committed Jan 16, 2023
1 parent 7d62ce2 commit ad51d77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MatrixSDK/Data/MXRoomSummary.m
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,7 @@ - (NSUInteger)hash
NSUInteger prime = 2;
NSUInteger result = 1;

result = prime * result + [_directUserId hash];
result = prime * result + [_roomId hash];
result = prime * result + [_roomTypeString hash];
result = prime * result + [_avatar hash];
Expand Down

0 comments on commit ad51d77

Please sign in to comment.