summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0428/fallback.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/plugins/xep_0428/fallback.py')
-rw-r--r--slixmpp/plugins/xep_0428/fallback.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/slixmpp/plugins/xep_0428/fallback.py b/slixmpp/plugins/xep_0428/fallback.py
new file mode 100644
index 00000000..61e913e3
--- /dev/null
+++ b/slixmpp/plugins/xep_0428/fallback.py
@@ -0,0 +1,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_0428 import stanza
+
+
+class XEP_0428(BasePlugin):
+ '''XEP-0428: Fallback Indication'''
+
+ name = 'xep_0428'
+ description = 'Fallback Indication'
+ dependencies = set()
+ stanza = stanza
+ namespace = stanza.NS
+
+ def plugin_init(self) -> None:
+ stanza.register_plugins()