Use podname for web+diaspora:// protocol handler

closes #7839
This commit is contained in:
Benjamin Neff 2018-07-19 22:52:19 +02:00
parent 2be60eab1b
commit 79907b78b9
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -10,7 +10,7 @@ Diaspora.ProtocolHandler = {
window.navigator.registerProtocolHandler(
"web+diaspora",
[window.location.protocol, "//", window.location.host, "/link?q=%s"].join(""),
document.title
gon.appConfig.settings.podname
);
} catch (_) {
return false;