Try to instead of from.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
4af2c5899b
commit
244feef0ac
|
@ -21,16 +21,16 @@
|
||||||
(prn (.-origin event))
|
(prn (.-origin event))
|
||||||
(prn (.-data event))))
|
(prn (.-data event))))
|
||||||
(prn "send ready message")
|
(prn "send ready message")
|
||||||
(.postMessage js/window.parent #js {:api "fromWidget",
|
(.postMessage js/window.parent #js {:api "toWidget",
|
||||||
:v "1.0"
|
:v "1.0"
|
||||||
:msgtype "ready"
|
:msgtype "ready"
|
||||||
#_#_:action "supported_api_versions"}, "*")
|
#_#_:action "supported_api_versions"}, "*")
|
||||||
(prn "send capability message")
|
(prn "send capability message")
|
||||||
|
|
||||||
(.postMessage js/window.parent #js {:api "fromWidget",
|
(.postMessage js/window.parent #js {:api "toWidget",
|
||||||
:v "1.0"
|
:v "1.0"
|
||||||
:msgtype "capabilities"
|
:msgtype "capabilities"
|
||||||
:capabilities #js ["m.room.send_message" "m.room.get_state"]
|
:capabilities #js {}
|
||||||
#_#_:action "supported_api_versions"}, "*")
|
#_#_:action "supported_api_versions"}, "*")
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue