Mercurial > libervia-pubsub
diff src/backend.py @ 380:e81964db3cd6
administrators entities:
In config file, the "admins_jids_list" setting can now be set to give a list of bare jids of entities with administrator privileges.
This is not used yet but will be soon.
config is now available in backend using self.config.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 13 Jan 2019 18:56:17 +0100 |
parents | ded7657b03fa |
children | 7c490bb60847 |
line wrap: on
line diff
--- a/src/backend.py Sat Jan 12 16:43:46 2019 +0100 +++ b/src/backend.py Sun Jan 13 18:56:17 2019 +0100 @@ -163,10 +163,11 @@ }, } - def __init__(self, storage): + def __init__(self, storage, config): utility.EventDispatcher.__init__(self) self.storage = storage self._callbackList = [] + self.config = config def supportsPublishOptions(self): return True