Improve chat experience and begin search implementation
This commit is contained in:
@@ -397,6 +397,12 @@ def get_link_qr(service: str, device_name: str):
|
||||
if cached:
|
||||
return cached
|
||||
|
||||
if service_key == "whatsapp":
|
||||
raise RuntimeError(
|
||||
"Neonize has not provided a pairing QR yet. "
|
||||
"Ensure UR is running with WHATSAPP_ENABLED=true and retry."
|
||||
)
|
||||
|
||||
token = secrets.token_urlsafe(24)
|
||||
uri = f"gia://{service_key}/link?device={device}&token={token}"
|
||||
update_runtime_state(
|
||||
|
||||
Reference in New Issue
Block a user