Send images
This commit is contained in:
parent
072a685c1a
commit
d221d94b6c
4 changed files with 254 additions and 31 deletions
|
|
@ -195,7 +195,11 @@ export default {
|
|||
if (this.matrixClient) {
|
||||
this.matrixClient.off(event, handler);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
uploadFile(file, opts) {
|
||||
return this.matrixClient.uploadContent(file, opts);
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue