master
Aevann1 2022-03-22 05:38:02 +02:00
parent 4bd2d4e967
commit 4c8cb4b534
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ if SITE in ('pcmemes.net', 'localhost'):
@limiter.limit("5/second;30/minute")
@auth_required
def speak(data, v):
if not data: abort(403)
data={
"avatar": v.profile_url,

View File

@ -49,7 +49,7 @@
<span id="loading-indicator" class="d-none"></span>
</div>
<i class="btn btn-secondary mr-2 fas fa-smile-beam" style="padding-top:0.65rem" onclick="loadEmojis('input-text')" aria-hidden="true" data-bs-toggle="modal" data-bs-target="#emojiModal" data-bs-placement="bottom" title="Add Emoji"></i>
<input id="input-text" type="text" class="form-control" placeholder="Message" autocomplete="off" autofocus />
<input id="input-text" minlength="1" maxlength="1000" type="text" class="form-control" placeholder="Message" autocomplete="off" autofocus>
<button id="chatsend" onclick="send()" class="btn btn-primary ml-3" type="submit">Send</button>
</div>
</div>