Mercurial > libervia-backend
changeset 1101:ad4ec8d9235e
plugin XEP-0045: change security limit of "config room" menu to 4
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 15 Jul 2014 18:26:36 +0200 |
parents | 2be46f391cfa |
children | 4c48e2549592 |
files | src/plugins/plugin_xep_0045.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0045.py Tue Jul 15 13:37:50 2014 +0200 +++ b/src/plugins/plugin_xep_0045.py Tue Jul 15 18:26:36 2014 +0200 @@ -78,7 +78,7 @@ host.bridge.addSignal("roomUserChangedNick", ".plugin", signature='ssss') # args: room_jid, old_nick, new_nick, profile host.bridge.addSignal("roomNewSubject", ".plugin", signature='sss') # args: room_jid, subject, profile self.__submit_conf_id = host.registerCallback(self._submitConfiguration, with_data=True) - host.importMenu((D_("MUC"), D_("configure")), self._configureRoomMenu, help_string=D_("Configure Multi-User Chat room"), type_=C.MENU_ROOM) + host.importMenu((D_("MUC"), D_("configure")), self._configureRoomMenu, security_limit=4, help_string=D_("Configure Multi-User Chat room"), type_=C.MENU_ROOM) try: self.host.plugins[C.TEXT_CMDS].registerTextCommands(self) self.host.plugins[C.TEXT_CMDS].addWhoIsCb(self._whois, 100)