You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-18 05:42:00 +03:00
Add tests to exercise room name / timeline logic; fix some bugs as a result.
This commit is contained in:
@@ -65,7 +65,7 @@ module.exports.filter = function(array, fn) {
|
||||
var results = [];
|
||||
for (var i = 0; i < array.length; i++) {
|
||||
if (fn(array[i], i, array)) {
|
||||
results.push(results);
|
||||
results.push(array[i]);
|
||||
}
|
||||
}
|
||||
return results;
|
||||
|
Reference in New Issue
Block a user