From e0a82f95da30ece3eb92ae8636257bef21a006e3 Mon Sep 17 00:00:00 2001 From: Alex Grebenyuk Date: Wed, 15 Jan 2025 23:00:22 -0500 Subject: [PATCH] Fix an issue with Mastodon connection not working (#23981) * Fix an issue with Mastodon connection not working * Update release notes --- RELEASE-NOTES.txt | 1 + .../Classes/Utility/WebViewController/WPWebViewController.m | 1 + 2 files changed, 2 insertions(+) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 8720a1ce2d21..f22f21fbe12f 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -45,6 +45,7 @@ * [*] Fix an issue with "Speed up your site" section not refreshing (fails silently) [#23966] * [*] Fix an issue with small tap area of the ellipsis in the post list [#23973] * [*] Avoid unexpectedly marking post content as unsaved. [#23969] +* [*] Fix an issue with Mastodon connection not working [#23981] 25.6 ----- diff --git a/WordPress/Classes/Utility/WebViewController/WPWebViewController.m b/WordPress/Classes/Utility/WebViewController/WPWebViewController.m index b35ec6873039..5b61051a5a89 100644 --- a/WordPress/Classes/Utility/WebViewController/WPWebViewController.m +++ b/WordPress/Classes/Utility/WebViewController/WPWebViewController.m @@ -177,6 +177,7 @@ - (void)setupTitle - (void)setupWebView { + self.webView.customUserAgent = [WPUserAgent wordPressUserAgent]; self.webView.navigationDelegate = self; }