mirror of https://github.com/zulip/zulip.git
Remove now obsolete /json/send_message route.
This commit is contained in:
parent
9cec758854
commit
e95739961f
|
@ -701,10 +701,6 @@ def same_realm_jabber_user(user_profile, email):
|
|||
def api_send_message(request, user_profile):
|
||||
return send_message_backend(request, user_profile)
|
||||
|
||||
@authenticated_json_post_view
|
||||
def json_send_message(request, user_profile):
|
||||
return send_message_backend(request, user_profile)
|
||||
|
||||
# We do not @require_login for send_message_backend, since it is used
|
||||
# both from the API and the web service. Code calling
|
||||
# send_message_backend should either check the API key or check that
|
||||
|
|
|
@ -110,7 +110,6 @@ urlpatterns += patterns('zerver.views',
|
|||
url(r'^json/rename_stream$', 'streams.json_rename_stream'),
|
||||
url(r'^json/make_stream_public$', 'streams.json_make_stream_public'),
|
||||
url(r'^json/make_stream_private$', 'streams.json_make_stream_private'),
|
||||
url(r'^json/send_message$', 'messages.json_send_message'),
|
||||
url(r'^json/invite_users$', 'json_invite_users'),
|
||||
url(r'^json/bulk_invite_users$', 'json_bulk_invite_users'),
|
||||
url(r'^json/settings/change$', 'user_settings.json_change_settings'),
|
||||
|
|
Loading…
Reference in New Issue