Merge pull request #5268 from matrix-org/t3chguy/fix/15349

Fix right panel for peeking rooms
This commit is contained in:
Michael Telatynski 2020-10-06 00:32:05 +01:00 committed by GitHub
commit 1e34365caa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

View file

@ -119,6 +119,7 @@ export default class WidgetStore extends AsyncStoreWithClient<IState> {
}
private loadRoomWidgets(room: Room) {
if (!room) return;
const roomInfo = this.roomMap.get(room.roomId);
roomInfo.widgets = [];
this.generateApps(room).forEach(app => {