diff --git a/var/www/blueprints/chats_explorer.py b/var/www/blueprints/chats_explorer.py index 56f21b4f..342f67e4 100644 --- a/var/www/blueprints/chats_explorer.py +++ b/var/www/blueprints/chats_explorer.py @@ -231,7 +231,7 @@ def chat_monitoring_request(): username = request.form.get('username') invite = request.form.get('invite') description = request.form.get('description') - if chat_type not in ['discord', 'telegram']: + if chat_type not in ['discord', 'telegram', 'other']: return create_json_response({"status": "error", "reason": "Invalid Chat Type"}, 400) if not username and not invite and not description: return create_json_response({"status": "error", "reason": "Please provide a username/username/invite/comment"}, 400) diff --git a/var/www/templates/chats_explorer/request_chat_monitoring.html b/var/www/templates/chats_explorer/request_chat_monitoring.html index 8f271cfb..2494b8c3 100644 --- a/var/www/templates/chats_explorer/request_chat_monitoring.html +++ b/var/www/templates/chats_explorer/request_chat_monitoring.html @@ -46,21 +46,22 @@
- +
- +
- +