Commit 321616d6 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Remove non_responders init argument from FilterProtocol class

No-response messages need to be configured through Negotiate messages
passed between the MTA and filter.
parent cef826ed
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -199,8 +199,8 @@ class FilterProtocol:
	buffers.  The class checks the correctness of responses sent back to the MTA.
	"""

	def __init__(self, non_responders: Sequence[messages.Message] = []) -> None:
		self.nr = {m.ident for m in non_responders}
	def __init__(self) -> None:
		self.nr = set[bytes]()
		self.state: tuple[messages.Message, set[bytes]]|None = None

	def read_from(