You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
unbreak filter text
This commit is contained in:
@@ -113,7 +113,9 @@ Filter.prototype.setDefinition = function(definition) {
|
||||
}
|
||||
|
||||
this._room_filter = new FilterComponent(room_filter_fields);
|
||||
this._room_timeline_filter = new FilterComponent(room_filter_json.timeline || {});
|
||||
this._room_timeline_filter = new FilterComponent(
|
||||
room_filter_json ? (room_filter_json.timeline || {}) : {}
|
||||
);
|
||||
|
||||
// don't bother porting this from synapse yet:
|
||||
// this._room_state_filter = new FilterComponent(room_filter_json.state || {});
|
||||
|
||||
Reference in New Issue
Block a user