diff --git a/radicale_infcloud/__init__.py b/radicale_infcloud/__init__.py
index 33815fc..f890109 100644
--- a/radicale_infcloud/__init__.py
+++ b/radicale_infcloud/__init__.py
@@ -17,6 +17,7 @@
from http import client
from radicale import httputils
from radicale.web import internal
+from importlib.metadata import version
PLUGIN_CONFIG_SCHEMA = {"web": {
"infcloud_config": {
@@ -38,7 +39,12 @@ def get(self, environ, base_prefix, path, user):
status, headers, answer = super().get(
environ, base_prefix, path, user)
if status == client.OK and path in ("/.web/", "/.web/index.html"):
- answer = answer.replace(b"""\
+ if version("radicale") >="3.2.0":
+ answer = answer.replace(b"""title="Refresh">Refresh""",
+ b"""title="Refresh">Refresh
+ InfCloud""")
+ else:
+ answer = answer.replace(b"""\