summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0334/stanza.py
blob: 850fe3096b61dbcdfe2e4a10664031e3215c2432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
"""
    slixmpp: The Slick XMPP Library
    Implementation of Message Processing Hints
    http://xmpp.org/extensions/xep-0334.html
    This file is part of slixmpp.

    See the file LICENSE for copying permission.
"""

from slixmpp.xmlstream import ElementBase

class Store(ElementBase):
    name = 'store'
    plugin_attrib = 'store'
    namespace = 'urn:xmpp:hints'

class NoPermanentStore(ElementBase):
    name = 'no-permanent-store'
    plugin_attrib = 'no-permanent-store'
    namespace = 'urn:xmpp:hints'

class NoStore(ElementBase):
    name = 'no-store'
    plugin_attrib = 'no-store'
    namespace = 'urn:xmpp:hints'

class NoCopy(ElementBase):
    name = 'no-copy'
    plugin_attrib = 'no-copy'
    namespace = 'urn:xmpp:hints'