Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Add an option to disable room list logging, and improve logging #4944

Merged
merged 1 commit into from
Jul 10, 2020

Conversation

turt2live
Copy link
Member

For element-hq/element-web#14035
For element-hq/element-web#13635

Caution

This option is not recommended as it completely obliterates all chances of being able to support someone with a broken room list. It is intended for specific testing scenarios only.

If you disable logging and encounter a bug, all bets are off on support.

For element-hq/element-web#14035

**This option is not recommended as it completely obliterates all chances of being able to support someone with a broken room list. It is intended for specific testing scenarios only.**
@@ -331,26 +333,13 @@ export class Algorithm extends EventEmitter {
this.emit(LIST_UPDATED_EVENT);
}

// TODO: Remove or use.
protected addPossiblyFilteredRoomsToTag(tagId: TagID, added: Room[]): void {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is no longer used...?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was never used, and I kept running into the comment.

@turt2live turt2live merged commit 840a412 into develop Jul 10, 2020
@turt2live turt2live deleted the travis/room-list/perf/log-disable branch July 10, 2020 13:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants