Skip to content

Commit

Permalink
Remove now obsolete /json/send_message route.
Browse files Browse the repository at this point in the history
  • Loading branch information
timabbott committed Dec 13, 2015
1 parent 9cec758 commit e957399
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions zerver/views/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion zproject/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
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'),
Expand Down

0 comments on commit e957399

Please sign in to comment.