Merge pull request #1886 from matrix-org/rxl881/widgetFixes

Fix 'state_key' field name.
pull/21833/head
Richard Lewis 2018-05-10 09:18:26 +01:00 committed by GitHub
commit e5c0b21a28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,
}; };