Set correct API name.
This commit is contained in:
parent
f2ad7be3f3
commit
954c6eecd6
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue