- Create framework for chat-client, including logo, explanatory text, color settings, ...

- remove allowed_langages from tenant
- Correct bugs in Tenant, TenantMake, SpecialistMagicLink
- Change chat client customisation elements
This commit is contained in:
Josako
2025-06-10 20:52:01 +02:00
parent 9cc266b97f
commit 23b49516cb
12 changed files with 201 additions and 47 deletions

View File

@@ -89,10 +89,11 @@ def chat(magic_link_code):
# Start a new chat session
session['chat_session_id'] = SpecialistServices.start_session()
return render_template('chat.html',
tenant=tenant,
specialist=specialist,
customisation=customisation)
return render_template('chat.html',
tenant=tenant,
tenant_make=tenant_make,
specialist=specialist,
customisation=customisation)
except Exception as e:
current_app.logger.error(f"Error in chat view: {str(e)}", exc_info=True)