summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0359/stanzaid.py
blob: c99a3360d9b32016647dd04c310eb1675c2512be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 = 'XEP-0359: Unique and Stable Stanza IDs'
    dependencies = set()
    stanza = stanza
    namespace = stanza.NS

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