From 39becef8c0bb6457b3acdd275dc08ae2a64cb4bc Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Wed, 25 Jan 2017 08:36:20 -0800 Subject: [PATCH] Fix update_message() in our API. This was regressed in b3df1ddeb1bbf67695a673278ae3c4a3e7c9ae99. --- zulip/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zulip/__init__.py b/zulip/__init__.py index 34469eb..488c045 100644 --- a/zulip/__init__.py +++ b/zulip/__init__.py @@ -508,7 +508,7 @@ class Client(object): See api/examples/edit-message for example usage. ''' return self.call_endpoint( - url='messages', + url='messages/%d' % (message_data['message_id'],), method='PATCH', request=message_data, )