Fix 'state_key' field name.

pull/21833/head
Richard Lewis 2018-05-09 16:55:49 +01:00
parent 7d0406b430
commit 44ea11d386
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ function setWidget(event, roomId) {
userWidgets[widgetId] = {
content: content,
sender: client.getUserId(),
stateKey: widgetId,
state_key: widgetId,
type: 'm.widget',
id: widgetId,
};