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);