Fix test failures introduced by last PR
This commit is contained in:
@@ -153,6 +153,14 @@ module.exports = React.createClass({
|
||||
if (key == 'readReceipts') {
|
||||
var rA = objA[key];
|
||||
var rB = objB[key];
|
||||
if (rA === rB) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!rA || !rB) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (rA.length !== rB.length) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user