You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Fix freeze on room switch (#7884)
* Fix freeze on room switch updateServerCandidates was called on every room member event and not throttled. Fixes https://github.com/vector-im/element-web/issues/21127 * Move import * Disable throttling in tests * Types Co-authored-by: Travis Ralston <travisr@matrix.org> Co-authored-by: Travis Ralston <travisr@matrix.org>
This commit is contained in:
@ -122,7 +122,7 @@ describe('Permalinks', function() {
|
||||
},
|
||||
member95,
|
||||
]);
|
||||
const creator = new RoomPermalinkCreator(room);
|
||||
const creator = new RoomPermalinkCreator(room, null, false);
|
||||
creator.load();
|
||||
expect(creator._serverCandidates[0]).toBe("pl_95");
|
||||
member95.membership = "left";
|
||||
|
Reference in New Issue
Block a user