diff --git a/mmpy_bot/mattermost.py b/mmpy_bot/mattermost.py index e074f0ff..7020bc4d 100644 --- a/mmpy_bot/mattermost.py +++ b/mmpy_bot/mattermost.py @@ -190,9 +190,8 @@ def put(self, request, data): def update_post(self, message_id, user_id, channel_id, message, files=None, pid=""): return self.put( - '/posts/%s' % message_id, + '/posts/%s/patch' % message_id, { - 'id': message_id, 'message': message, })