Fix issues with multiplatform conversation displays

This commit is contained in:
2026-02-16 11:42:53 +00:00
parent 15af8af6b2
commit 908516bc94
10 changed files with 489 additions and 78 deletions

View File

@@ -48,13 +48,7 @@ if DEBUG:
SETTINGS_EXPORT = ["BILLING_ENABLED"]
SIGNAL_NUMBER = getenv("SIGNAL_NUMBER")
_container_runtime = getenv("container", "").strip().lower()
_signal_default_url = (
"http://127.0.0.1:8080"
if _container_runtime == "podman"
else "http://signal:8080"
)
SIGNAL_HTTP_URL = getenv("SIGNAL_HTTP_URL", _signal_default_url)
SIGNAL_HTTP_URL = getenv("SIGNAL_HTTP_URL", "http://signal:8080")
WHATSAPP_ENABLED = getenv("WHATSAPP_ENABLED", "false").lower() in trues
WHATSAPP_HTTP_URL = getenv("WHATSAPP_HTTP_URL", "http://whatsapp:8080")

View File

@@ -36,6 +36,7 @@ from core.views import (
queues,
sessions,
signal,
system,
whatsapp,
workspace,
)
@@ -54,6 +55,11 @@ urlpatterns = [
notifications.NotificationsUpdate.as_view(),
name="notifications_update",
),
path(
"settings/system/",
system.SystemSettings.as_view(),
name="system_settings",
),
path(
"services/signal/",
signal.Signal.as_view(),