Actually try to open matrix links

This commit is contained in:
Danila Fedorin 2021-08-26 15:27:57 -07:00
parent c109293864
commit 1179db5ad9

View file

@ -54,8 +54,10 @@ export class OpenDefaultViewModel extends ViewModel {
}
tryOpenLink() {
this.openLink(this._client ?
this._client.getDeepLink(this._proposedPlatform, this._link) :
this._link.toMatrixUrl());
this.trying = true;
// TODO actually try opening link
this.setTimeout(() => {
if (this.autoRedirect) {
// We're about to be closed so don't