comparison 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
comparison
equal deleted inserted replaced
4010:818db4ca3717 4011:74d4c9ff893d
156 PRESENCE_PRIORITY = "priority" 156 PRESENCE_PRIORITY = "priority"
157 157
158 ## Common namespaces ## 158 ## Common namespaces ##
159 NS_XML = "http://www.w3.org/XML/1998/namespace" 159 NS_XML = "http://www.w3.org/XML/1998/namespace"
160 NS_CLIENT = "jabber:client" 160 NS_CLIENT = "jabber:client"
161 NS_COMPONENT = "jabber:component:accept"
162 NS_STREAM = (NS_CLIENT, NS_COMPONENT)
161 NS_FORWARD = "urn:xmpp:forward:0" 163 NS_FORWARD = "urn:xmpp:forward:0"
162 NS_DELAY = "urn:xmpp:delay" 164 NS_DELAY = "urn:xmpp:delay"
163 NS_XHTML = "http://www.w3.org/1999/xhtml" 165 NS_XHTML = "http://www.w3.org/1999/xhtml"
164 166
165 ## Common XPath ## 167 ## Common XPath ##