mirror of https://github.com/zulip/zulip.git
Remove now-unnecessary check for 'time' in json_send_message.
(imported from commit aa177e13c16a43a5914227142a4e2589e2bd92bb)
This commit is contained in:
parent
1adc54185f
commit
517c8e298a
|
@ -481,8 +481,6 @@ def api_send_message(request, user_profile):
|
|||
@login_required_json_view
|
||||
def json_send_message(request):
|
||||
user_profile = UserProfile.objects.get(user=request.user)
|
||||
if 'time' in request.POST:
|
||||
return json_error("Invalid field 'time'")
|
||||
return send_message_backend(request, user_profile, user_profile,
|
||||
client_name=request.POST.get("client"))
|
||||
|
||||
|
|
Loading…
Reference in New Issue