{% extends "base.html" %} {% block title %}Approve a chatbot ยท Memoreei{% endblock %} {% block main_class %} class="narrow"{% endblock %} {% block main %}

{% if r %}{{ r.client_name }} wants to use memoreei{% else %}Approve a chatbot{% endif %}

{% if said %}

{{ said }}

{% endif %} {% if r %}

{{ r.user_code }}

Who
{{ r.client_name }} {% if r.self_registered %}(it named itself{% if r.client_host %}; {{ r.client_host }}{% endif %}){% else %}({{ r.client_host }}){% endif %}{% if r.kind == "device" %}, an agent{% endif %}
Asked
{{ r.created_at|ago|capitalize }}{% if r.peer %} from {{ r.peer }}{% endif %}

Only approve it if you just asked {{ r.client_name }} to connect, and it's showing you {{ r.user_code }}. If someone sent you this link, deny it: approving lets it read your messages.

{% elif not said %}

That request has already been answered, or has lapsed. Requests wait ten minutes. Go back to the chatbot and connect again.

{% endif %} {% if said %}

You can close this page{% if r is none %} and go back to the chatbot or agent{% endif %}.

{% endif %} {% endblock %}