NDOJ/judge/jinja2/chat.py
2021-12-16 14:16:49 -06:00

6 lines
No EOL
183 B
Python

from . import registry
from chat_box.utils import encrypt_url
@registry.function
def chat_param(request_profile, profile):
return encrypt_url(request_profile.id, profile.id)