diff --git a/pwclient/api.py b/pwclient/api.py index 427395b..3b7cf59 100644 --- a/pwclient/api.py +++ b/pwclient/api.py @@ -742,6 +742,12 @@ def patch_list( if hash is not None: filters['hash'] = hash + if msgid is not None: + filters['msgid'] = msgid + + if archived is not None: + filters['archived'] = archived + patches = self._list('patches', params=filters) return [self._patch_to_dict(patch) for patch in patches]