Remove old version

This commit is contained in:
David Baker 2021-08-12 18:39:11 +01:00
parent 657dcaf989
commit 3528d87f30

View file

@ -151,12 +151,6 @@ export default class WidgetStore extends AsyncStoreWithClient<IState> {
} }
} }
/*if (
oldWidgetIds.includes(ActiveWidgetStore.getPersistentWidgetId()) &&
!roomInfo.widgets.map(w => w.id).includes(ActiveWidgetStore.getPersistentWidgetId())) {
ActiveWidgetStore.destroyPersistentWidget(ActiveWidgetStore.getPersistentWidgetId());
}*/
this.emit(room.roomId); this.emit(room.roomId);
} }