diff sat/plugins/plugin_xep_0060.py @ 2647:1bf7e89fded0

plugin XEP-0060: added singleton ID ("current")
author Goffi <goffi@goffi.org>
date Sun, 29 Jul 2018 19:23:01 +0200
parents 189e38fb11ff
children 6555e9835ff8
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0060.py	Sun Jul 29 19:22:56 2018 +0200
+++ b/sat/plugins/plugin_xep_0060.py	Sun Jul 29 19:23:01 2018 +0200
@@ -80,6 +80,7 @@
     ACCESS_PUBLISHER_ROSTER = "publisher-roster"
     ACCESS_AUTHORIZE = "authorize"
     ACCESS_WHITELIST = "whitelist"
+    ID_SINGLETON = "current"
 
     def __init__(self, host):
         log.info(_(u"PubSub plugin initialization"))