diff src/plugins/plugin_xep_0045.py @ 1538:55967cf161b1

reverted patch ad4ec8d9235e: there must not be security limit on room configuration
author Goffi <goffi@goffi.org>
date Tue, 29 Sep 2015 19:07:32 +0200
parents 2184d5f496b5
children e0bde0d0b321
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0045.py	Tue Sep 29 17:54:25 2015 +0200
+++ b/src/plugins/plugin_xep_0045.py	Tue Sep 29 19:07:32 2015 +0200
@@ -87,7 +87,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, security_limit=4, help_string=D_("Configure Multi-User Chat room"), type_=C.MENU_ROOM)
+        host.importMenu((D_("MUC"), D_("configure")), self._configureRoomMenu, security_limit=0, 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)