Fix 'state_key' field name.

This commit is contained in:
Richard Lewis 2018-05-09 16:55:49 +01:00
parent 7d0406b430
commit 44ea11d386

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