1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Set correct API name.

This commit is contained in:
Richard Lewis
2017-12-15 19:42:06 +00:00
parent f2ad7be3f3
commit 954c6eecd6

View File

@ -368,6 +368,7 @@ export default class WidgetMessaging extends MatrixPostMessageApi {
*/ */
getScreenshot() { getScreenshot() {
this.exec({ this.exec({
api: "widget_client",
action: "screenshot", action: "screenshot",
}).then(function(screenshot) { }).then(function(screenshot) {
console.warn("got screenshot", screenshot); console.warn("got screenshot", screenshot);