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
Merge pull request #716 from matrix-org/bwindels/fixfilepanel
Fix filepanel also filtering main timeline with LL turned on.
This commit is contained in:
@@ -2145,7 +2145,9 @@ function(roomId, fromToken, limit, dir, timelineFilter = undefined) {
|
|||||||
|
|
||||||
let filter = null;
|
let filter = null;
|
||||||
if (this._clientOpts.lazyLoadMembers) {
|
if (this._clientOpts.lazyLoadMembers) {
|
||||||
filter = LAZY_LOADING_MESSAGES_FILTER;
|
// create a shallow copy of LAZY_LOADING_MESSAGES_FILTER,
|
||||||
|
// so the timelineFilter doesn't get written into it below
|
||||||
|
filter = Object.assign({}, LAZY_LOADING_MESSAGES_FILTER);
|
||||||
}
|
}
|
||||||
if (timelineFilter) {
|
if (timelineFilter) {
|
||||||
// XXX: it's horrific that /messages' filter parameter doesn't match
|
// XXX: it's horrific that /messages' filter parameter doesn't match
|
||||||
|
|||||||
Reference in New Issue
Block a user