You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
lint
This commit is contained in:
@@ -713,7 +713,7 @@ SyncApi.prototype._getOrCreateFilter = function(filterName, filter) {
|
|||||||
var oldStr = JSON.stringify(existingFilter.getDefinition());
|
var oldStr = JSON.stringify(existingFilter.getDefinition());
|
||||||
var newStr = JSON.stringify(filter.getDefinition());
|
var newStr = JSON.stringify(filter.getDefinition());
|
||||||
|
|
||||||
if ( oldStr == newStr ) {
|
if (oldStr == newStr) {
|
||||||
// super, just use that.
|
// super, just use that.
|
||||||
debuglog("Using existing filter ID %s: %s", filterId, oldStr);
|
debuglog("Using existing filter ID %s: %s", filterId, oldStr);
|
||||||
return q(filterId);
|
return q(filterId);
|
||||||
|
|||||||
Reference in New Issue
Block a user