mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 06:35:35 +08:00
Set correct API name.
This commit is contained in:
parent
f2ad7be3f3
commit
954c6eecd6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user