From 7f1d9bbc3f8419501e28546e38c50b7192414545 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 16 Sep 2024 15:59:31 +0200 Subject: [PATCH] Remove wrong comment --- .../impl/screens/createaccount/WebViewMessageInterceptor.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/features/login/impl/src/main/kotlin/io/element/android/features/login/impl/screens/createaccount/WebViewMessageInterceptor.kt b/features/login/impl/src/main/kotlin/io/element/android/features/login/impl/screens/createaccount/WebViewMessageInterceptor.kt index f07c466736..6dfe903b09 100644 --- a/features/login/impl/src/main/kotlin/io/element/android/features/login/impl/screens/createaccount/WebViewMessageInterceptor.kt +++ b/features/login/impl/src/main/kotlin/io/element/android/features/login/impl/screens/createaccount/WebViewMessageInterceptor.kt @@ -34,9 +34,6 @@ class WebViewMessageInterceptor( super.onPageStarted(view, url, favicon) // We inject this JS code when the page starts loading to attach a message listener to the window. - // This listener will receive both messages: - // - EC widget API -> Element X (message.data.api == "fromWidget") - // - Element X -> EC widget API (message.data.api == "toWidget"), we should ignore these view?.evaluateJavascript( """ window.addEventListener(