diff options
author | Edwin Mons <edwin.mons@isode.com> | 2019-10-30 08:05:07 (GMT) |
---|---|---|
committer | Edwin Mons <edwin.mons@isode.com> | 2019-10-30 12:13:22 (GMT) |
commit | 8baf0e407b3b4914654a6036a16ac81b7a2e7414 (patch) | |
tree | 1a7cb840d2b8630357106ed69cd16081fea16147 /Swiften/Elements | |
parent | a616265f7a5a48c5769262027795f99df91a6ae8 (diff) | |
download | swift-8baf0e407b3b4914654a6036a16ac81b7a2e7414.zip swift-8baf0e407b3b4914654a6036a16ac81b7a2e7414.tar.bz2 |
Bring StreamError enum to spec
RFC 6120 no longer defines invalid-id, and adds unsupported-feature.
The StreamError enum was derived from the schema in section A.2, which
erroneously had these two deviations from 4.9.3.
Test-Information:
Unit tests pass on Debian 9
Change-Id: I2bb3d0b09448877bbd4618fa852baab87bfa1abc
Diffstat (limited to 'Swiften/Elements')
-rw-r--r-- | Swiften/Elements/StreamError.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Elements/StreamError.h b/Swiften/Elements/StreamError.h index aa294fd..6dda15c 100644 --- a/Swiften/Elements/StreamError.h +++ b/Swiften/Elements/StreamError.h @@ -27,7 +27,6 @@ namespace Swift { ImproperAddressing, InternalServerError, InvalidFrom, - InvalidID, InvalidNamespace, InvalidXML, NotAuthorized, @@ -41,6 +40,7 @@ namespace Swift { SystemShutdown, UndefinedCondition, UnsupportedEncoding, + UnsupportedFeature, UnsupportedStanzaType, UnsupportedVersion }; |