Merge pull request #5034 from matrix-org/travis/fix-perf
Mixed bag of performance improvements: ScrollPanel and notifications
This commit is contained in:
commit
67fd6e6122
9 changed files with 114 additions and 59 deletions
|
@ -90,7 +90,7 @@ export class ImportanceAlgorithm extends OrderingAlgorithm {
|
|||
private getRoomCategory(room: Room): NotificationColor {
|
||||
// It's fine for us to call this a lot because it's cached, and we shouldn't be
|
||||
// wasting anything by doing so as the store holds single references
|
||||
const state = RoomNotificationStateStore.instance.getRoomState(room, this.tagId);
|
||||
const state = RoomNotificationStateStore.instance.getRoomState(room);
|
||||
return state.color;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue