diff --git a/lib/nntp/tiny/response.py b/lib/nntp/tiny/response.py index 952aad2..bf56812 100644 --- a/lib/nntp/tiny/response.py +++ b/lib/nntp/tiny/response.py @@ -27,6 +27,8 @@ class ResponseCode(enum.Enum): NNTP_NEWSGROUP_NOT_FOUND = 411 NNTP_NEWSGROUP_NOT_SELECTED = 412 NNTP_ARTICLE_INVALID_NUMBER = 420 + NNTP_ARTICLE_NO_NEXT = 421 + NNTP_ARTICLE_NO_PREVIOUS = 422 NNTP_ARTICLE_NOT_FOUND_NUM = 423 NNTP_ARTICLE_NOT_FOUND_ID = 430 NNTP_POST_PROHIBITED = 440 @@ -57,6 +59,8 @@ class ResponseCode(enum.Enum): 411: "No such newsgroup", 412: "No newsgroup selected", 420: "Current article number is invalid", + 421: "No next article in this group", + 422: "No previous article in this group", 423: "No article found by that number", 430: "No article found by that message ID", 440: "Posting prohibited",