From 954c6eecd6665d204a4fb9ec7767971b4db84dc2 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Fri, 15 Dec 2017 19:42:06 +0000 Subject: [PATCH] Set correct API name. --- src/WidgetMessaging.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/WidgetMessaging.js b/src/WidgetMessaging.js index 1180dd2df2..134f93f0f7 100644 --- a/src/WidgetMessaging.js +++ b/src/WidgetMessaging.js @@ -368,6 +368,7 @@ export default class WidgetMessaging extends MatrixPostMessageApi { */ getScreenshot() { this.exec({ + api: "widget_client", action: "screenshot", }).then(function(screenshot) { console.warn("got screenshot", screenshot);