mirror of https://github.com/vector-im/riot-web
Merge pull request #1886 from matrix-org/rxl881/widgetFixes
Fix 'state_key' field name.pull/21833/head
commit
e5c0b21a28
|
@ -349,7 +349,7 @@ function setWidget(event, roomId) {
|
||||||
userWidgets[widgetId] = {
|
userWidgets[widgetId] = {
|
||||||
content: content,
|
content: content,
|
||||||
sender: client.getUserId(),
|
sender: client.getUserId(),
|
||||||
stateKey: widgetId,
|
state_key: widgetId,
|
||||||
type: 'm.widget',
|
type: 'm.widget',
|
||||||
id: widgetId,
|
id: widgetId,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue