From d90f7642e3cf572e0ce84383c35c62dbfabe0c5b Mon Sep 17 00:00:00 2001 From: Chteufleur Date: Sat, 23 Jul 2016 11:58:03 +0200 Subject: [PATCH] Add not authorized error condition --- src/xmpp/stanza.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xmpp/stanza.go b/src/xmpp/stanza.go index a21b5d1..33c4b0c 100644 --- a/src/xmpp/stanza.go +++ b/src/xmpp/stanza.go @@ -172,4 +172,5 @@ var ( FeatureNotImplemented = ErrorCondition{nsErrorStanzas, "feature-not-implemented"} RemoteServerNotFound = ErrorCondition{nsErrorStanzas, "remote-server-not-found"} ServiceUnavailable = ErrorCondition{nsErrorStanzas, "service-unavailable"} + NotAuthorized = ErrorCondition{nsErrorStanzas, "not-authorized"} )