2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Fix location links with Bing Maps uninstalled.

Fixes #26506.
This commit is contained in:
John Preston
2023-08-11 11:41:58 +02:00
parent 8cc3eb4bfe
commit 58c91be156

View File

@@ -683,7 +683,10 @@ bool psLaunchMaps(const Data::LocationPoint &point) {
AT_URLPROTOCOL,
AL_EFFECTIVE,
handler.put());
if (FAILED(result) || !handler) {
if (FAILED(result)
|| !handler
|| !handler.data()
|| std::wstring(handler.data()) == L"bingmaps") {
return false;
}