diff options
author | mathieui <mathieui@mathieui.net> | 2022-09-12 18:18:51 +0000 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2022-09-12 18:18:51 +0000 |
commit | 97b0c7ffac306402155443dfa06c832e758806eb (patch) | |
tree | 7019bc57276ce27adacf825352618e0ea1d6ab13 /slixmpp/plugins/xep_0055/stanza.py | |
parent | afdfa1ee5715d9f1e96aadf8cbcd71f0082d8ab7 (diff) | |
parent | c2ece57dee13ca8971bff66ff6e4899e9d2cfe71 (diff) | |
download | slixmpp-97b0c7ffac306402155443dfa06c832e758806eb.tar.gz slixmpp-97b0c7ffac306402155443dfa06c832e758806eb.tar.bz2 slixmpp-97b0c7ffac306402155443dfa06c832e758806eb.tar.xz slixmpp-97b0c7ffac306402155443dfa06c832e758806eb.zip |
Merge branch 'xep0055' into 'master'
Add XEP-0055 (Jabber Search)
See merge request poezio/slixmpp!204
Diffstat (limited to 'slixmpp/plugins/xep_0055/stanza.py')
-rw-r--r-- | slixmpp/plugins/xep_0055/stanza.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/slixmpp/plugins/xep_0055/stanza.py b/slixmpp/plugins/xep_0055/stanza.py new file mode 100644 index 00000000..18bccf7e --- /dev/null +++ b/slixmpp/plugins/xep_0055/stanza.py @@ -0,0 +1,10 @@ +from typing import Set, ClassVar + +from slixmpp.xmlstream import ElementBase + + +class Search(ElementBase): + namespace = "jabber:iq:search" + name = "query" + plugin_attrib = "search" + interfaces: ClassVar[Set[str]] = set() |