Set correct API name.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user