Try to instead of from.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Oliver 2025-01-17 20:40:51 +00:00
parent 4af2c5899b
commit 244feef0ac
1 changed files with 3 additions and 3 deletions

View File

@ -21,16 +21,16 @@
(prn (.-origin event))
(prn (.-data event))))
(prn "send ready message")
(.postMessage js/window.parent #js {:api "fromWidget",
(.postMessage js/window.parent #js {:api "toWidget",
:v "1.0"
:msgtype "ready"
#_#_:action "supported_api_versions"}, "*")
(prn "send capability message")
(.postMessage js/window.parent #js {:api "fromWidget",
(.postMessage js/window.parent #js {:api "toWidget",
:v "1.0"
:msgtype "capabilities"
:capabilities #js ["m.room.send_message" "m.room.get_state"]
:capabilities #js {}
#_#_:action "supported_api_versions"}, "*")
)