1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Add comments to highlight where we'll need m.widget support

For https://github.com/vector-im/riot-web/issues/13111
This commit is contained in:
Travis Ralston
2020-04-09 15:14:07 -06:00
parent 4d461c6d87
commit b4b0c4c6df
7 changed files with 13 additions and 2 deletions

View File

@@ -64,6 +64,7 @@ class ActiveWidgetStore extends EventEmitter {
// Everything else relies on views listening for events and calling setters
// on this class which is terrible. This store should just listen for events
// and keep itself up to date.
// TODO: Enable support for m.widget event type (https://github.com/vector-im/riot-web/issues/13111)
if (ev.getType() !== 'im.vector.modular.widgets') return;
if (ev.getStateKey() === this._persistentWidgetId) {