allow ppl to leave a chat during an orgy

master
Aevann 2024-04-12 13:37:07 +02:00
parent 6cd704af95
commit 3d0b0fe48b
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@
{% if v.id == chat.owner_id %}
<a href="/chat/{{chat.id}}/orgies" class="orgy-control fas fa-tv text-muted ml-2"></a>
{% else %}
<button id="leave-private-chat" type="submit" class="btn btn-danger ml-1 ml-md-3 px-2 text-small-sm" data-nonce="{{g.nonce}}" data-onclick="areyousure(this)" data-areyousure="postToastReload(this, '/chat/{{chat.id}}/leave')">Leave</button>
{% endif %}
<div>