Fix test failures introduced by last PR
This commit is contained in:
parent
b0eba8aea8
commit
dcd81da856
3 changed files with 22 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue