diff --git a/src/ScalarMessaging.js b/src/ScalarMessaging.js index 123d02159e..a163bf7bbd 100644 --- a/src/ScalarMessaging.js +++ b/src/ScalarMessaging.js @@ -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, };