Send images

This commit is contained in:
N-Pex 2020-11-17 20:02:42 +01:00
parent 072a685c1a
commit d221d94b6c
4 changed files with 254 additions and 31 deletions

View file

@ -195,7 +195,11 @@ export default {
if (this.matrixClient) {
this.matrixClient.off(event, handler);
}
}
},
uploadFile(file, opts) {
return this.matrixClient.uploadContent(file, opts);
},
}
})