summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0359/stanzaid.py
blob: 2235e74beddefe35bacbc9d9a8a42c7b17688c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""
    Slixmpp: The Slick XMPP Library
    Copyright (C) 2020 Mathieu Pasquet <mathieui@mathieui.net>
    This file is part of Slixmpp.

    See the file LICENSE for copying permission.
"""
from slixmpp.plugins import BasePlugin
from slixmpp.plugins.xep_0359 import stanza


class XEP_0359(BasePlugin):
    '''XEP-0359: Unique and Stable Stanza IDs'''

    name = 'xep_0359'
    description = 'Unique and Stable Stanza IDs'
    dependencies = set()
    stanza = stanza
    namespace = stanza.NS

    def plugin_init(self) -> None:
        stanza.register_plugins()