diff sat/core/constants.py @ 4011:74d4c9ff893d

plugin XEP-0277: when publisher is not found, check ancestor in both client and component namespaces
author Goffi <goffi@goffi.org>
date Thu, 16 Mar 2023 16:43:47 +0100
parents e345d93fb6e5
children 78b5f356900c
line wrap: on
line diff
--- a/sat/core/constants.py	Thu Mar 16 16:43:08 2023 +0100
+++ b/sat/core/constants.py	Thu Mar 16 16:43:47 2023 +0100
@@ -158,6 +158,8 @@
     ## Common namespaces ##
     NS_XML = "http://www.w3.org/XML/1998/namespace"
     NS_CLIENT = "jabber:client"
+    NS_COMPONENT = "jabber:component:accept"
+    NS_STREAM = (NS_CLIENT, NS_COMPONENT)
     NS_FORWARD = "urn:xmpp:forward:0"
     NS_DELAY = "urn:xmpp:delay"
     NS_XHTML = "http://www.w3.org/1999/xhtml"