Skip to content

Commit

Permalink
fix: use absolute room url in help desk bot 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vas3k committed Sep 10, 2024
1 parent 2652216 commit ac6e1ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
💬 <a href="https://t.me/c/{{ reply_chat_id }}/{{ reply_msg_id }}">Ответ</a> от <a href="tg://user?id={from_user.id}">{{ from_user.first_name }} {{ from_user.last_name|default:"" }}</a> из чата <a href="{{ settings.APP_HOST }}{{ room.chat_url }}">{{ room.title }}</a>:
💬 <a href="https://t.me/c/{{ reply_chat_id }}/{{ reply_msg_id }}">Ответ</a> от <a href="tg://user?id={from_user.id}">{{ from_user.first_name }} {{ from_user.last_name|default:"" }}</a> из чата <a href="{{ settings.APP_HOST }}{{ room.get_private_url }}">{{ room.title }}</a>:

{{ text }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% if question.room %}<a href="{{ settings.APP_HOST }}{{ room.chat_url }}"><b>{{ question.room }}</b></a>
{% if question.room %}<a href="{{ settings.APP_HOST }}{{ room.get_private_url }}"><b>{{ question.room }}</b></a>

{% endif %}<b>{{ question.title }}</b> от <a href="{{ settings.APP_HOST }}{% url "profile" user.slug %}">{{ user.full_name }}</a>

Expand Down

0 comments on commit ac6e1ab

Please sign in to comment.