NDOJ/judge/jinja2/chat.py

8 lines
187 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
2022-05-14 17:57:27 +00:00
2021-12-16 20:16:49 +00:00
@registry.function
def chat_param(request_profile, profile):
2022-05-14 17:57:27 +00:00
return encrypt_url(request_profile.id, profile.id)