~singpolyma/cheogram-android

9b1828b11c940f1ef34fb3111a9a7169f91d541e — Stephen Paul Weber 4 months ago 5c20049
Look more like a real web browser
1 files changed, 3 insertions(+), 0 deletions(-)

M src/main/java/eu/siacs/conversations/entities/Conversation.java
M src/main/java/eu/siacs/conversations/entities/Conversation.java => src/main/java/eu/siacs/conversations/entities/Conversation.java +3 -0
@@ 1682,6 1682,9 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
                @Override
                public void bind(Item oob) {
                    binding.webview.getSettings().setJavaScriptEnabled(true);
                    binding.webview.getSettings().setUserAgentString("Mozilla/5.0 (Linux; Android 11) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36");
                    binding.webview.getSettings().setDatabaseEnabled(true);
                    binding.webview.getSettings().setDomStorageEnabled(true);
                    binding.webview.setWebViewClient(new WebViewClient() {
                        @Override
                        public void onPageFinished(WebView view, String url) {