~samwhited/xmpp

8d8fcc72b816dd15bc29d84d4b330a3b41394dec — Sam Whited 3 years ago 29b2055
compress: remove TODO

[ci skip]
1 files changed, 0 insertions(+), 3 deletions(-)

M compress/compression.go
M compress/compression.go => compress/compression.go +0 -3
@@ 77,9 77,6 @@ func New(methods ...Method) xmpp.StreamFeature {
				return false, nil, err
			}

			// TODO: Is this actually an error, or is this a bad implementation that
			//       we can ignore? If someone strips all security mechanisms do we
			//       care that we'll effectively negotiate "none" compression?
			if len(listed.Methods) == 0 {
				return false, nil, errNoMethods
			}