Set correct API name.

pull/21833/head
Richard Lewis 2017-12-15 19:42:06 +00:00
parent f2ad7be3f3
commit 954c6eecd6
1 changed files with 1 additions and 0 deletions

View File

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