Skip to content

Commit

Permalink
Merge ec81883 into 79d3ba8
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonCoderAS committed Dec 28, 2019
2 parents 79d3ba8 + ec81883 commit 4e5be2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ Unreleased
* The file for ModActions (praw/models/modaction.py) has been moved to
praw/models/mod_action.py and the previous has been Deprecated.

**Removed**

* The `_unmute` parameter of :meth:`.SubredditMessage.mute` was removed.

**Expected Changes**

* The behavior of :class:`.APIException` will no longer unicode-escape strings
Expand Down
2 changes: 1 addition & 1 deletion praw/models/reddit/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def delete(self):
class SubredditMessage(Message):
"""A class for messages to a subreddit."""

def mute(self, _unmute=False):
def mute(self):
"""Mute the sender of this SubredditMessage."""
self._reddit.post(API_PATH["mute_sender"], data={"id": self.fullname})

Expand Down

0 comments on commit 4e5be2c

Please sign in to comment.