Actually try to open matrix links
This commit is contained in:
parent
c109293864
commit
1179db5ad9
1 changed files with 3 additions and 1 deletions
|
@ -54,8 +54,10 @@ export class OpenDefaultViewModel extends ViewModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
tryOpenLink() {
|
tryOpenLink() {
|
||||||
|
this.openLink(this._client ?
|
||||||
|
this._client.getDeepLink(this._proposedPlatform, this._link) :
|
||||||
|
this._link.toMatrixUrl());
|
||||||
this.trying = true;
|
this.trying = true;
|
||||||
// TODO actually try opening link
|
|
||||||
this.setTimeout(() => {
|
this.setTimeout(() => {
|
||||||
if (this.autoRedirect) {
|
if (this.autoRedirect) {
|
||||||
// We're about to be closed so don't
|
// We're about to be closed so don't
|
||||||
|
|
Loading…
Reference in a new issue