Ensure widgets always have a sender associated with them
Fixes https://github.com/vector-im/riot-web/issues/11419
This commit is contained in:
parent
f543a113cf
commit
f5ec9eb8f4
3 changed files with 8 additions and 4 deletions
|
@ -67,7 +67,7 @@ module.exports = createReactClass({
|
|||
return ev.getStateKey() === ActiveWidgetStore.getPersistentWidgetId();
|
||||
});
|
||||
const app = WidgetUtils.makeAppConfig(
|
||||
appEvent.getStateKey(), appEvent.getContent(), appEvent.sender, persistentWidgetInRoomId,
|
||||
appEvent.getStateKey(), appEvent.getContent(), appEvent.getSender(), persistentWidgetInRoomId,
|
||||
);
|
||||
const capWhitelist = WidgetUtils.getCapWhitelistForAppTypeInRoomId(app.type, persistentWidgetInRoomId);
|
||||
const AppTile = sdk.getComponent('elements.AppTile');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue