Skip to content

Commit

Permalink
Sort praw.models.reddit.modmail.ModmailConversation.read arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
LilSpazJoekp committed Feb 7, 2022
1 parent 53969d2 commit b81f80e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion praw/models/reddit/modmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,9 @@ def mute(self, *, num_days=3):
path=API_PATH["modmail_mute"].format(id=self.id),
)

@_deprecate_args("other_conversations")
def read(
self, other_conversations: Optional[List["ModmailConversation"]] = None
self, *, other_conversations: Optional[List["ModmailConversation"]] = None
): # noqa: D207, D301
"""Mark the conversation(s) as read.
Expand Down

0 comments on commit b81f80e

Please sign in to comment.