Skip to content

Commit b9392aa

Browse files
IgorFedorchukNikolaevIV
authored andcommitted
add _directUserId to MXRoomSummary hash function
Signed-off-by: Игорь Николаев <[email protected]>
1 parent 7d62ce2 commit b9392aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MatrixSDK/Data/MXRoomSummary.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,7 @@ - (NSUInteger)hash
10451045
NSUInteger prime = 2;
10461046
NSUInteger result = 1;
10471047

1048+
result = prime * result + [_directUserId hash];
10481049
result = prime * result + [_roomId hash];
10491050
result = prime * result + [_roomTypeString hash];
10501051
result = prime * result + [_avatar hash];

0 commit comments

Comments
 (0)