NDOJ/judge/jinja2/chat.py

6 lines
183 B
Python
Raw Permalink Normal View History

2021-12-16 20:16:49 +00:00
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)