From 1179db5ad90c4473f2df90a6a8d22dcfb4f6a3e7 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Thu, 26 Aug 2021 15:27:57 -0700 Subject: [PATCH] Actually try to open matrix links --- src/open/OpenDefaultViewModel.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/open/OpenDefaultViewModel.js b/src/open/OpenDefaultViewModel.js index 3bbacaa..59cbf4a 100644 --- a/src/open/OpenDefaultViewModel.js +++ b/src/open/OpenDefaultViewModel.js @@ -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