Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0050.py @ 1707:94c450972346
primitivus and plugins: renamed a few menus:
- display all menu with the first letter in upper case
- moved Search directory from Service to Contacts
- moved "Join room" from Communication to Groups
- moved Bookmarks from Communication to Groups
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 01 Dec 2015 12:45:14 +0100 |
parents | 98f92a054539 |
children | d17772b0fe22 |
comparison
equal
deleted
inserted
replaced
1706:aa60bd58ac23 | 1707:94c450972346 |
---|---|
217 self.answering = {} | 217 self.answering = {} |
218 host.bridge.addMethod("requestCommand", ".plugin", in_sign='ss', out_sign='s', | 218 host.bridge.addMethod("requestCommand", ".plugin", in_sign='ss', out_sign='s', |
219 method=self._requestCommandsList, | 219 method=self._requestCommandsList, |
220 async=True) | 220 async=True) |
221 self.__requesting_id = host.registerCallback(self._requestingEntity, with_data=True) | 221 self.__requesting_id = host.registerCallback(self._requestingEntity, with_data=True) |
222 host.importMenu((D_("Service"), D_("commands")), self._commandsMenu, security_limit=2, help_string=D_("Execute ad-hoc commands")) | 222 host.importMenu((D_("Service"), D_("Commands")), self._commandsMenu, security_limit=2, help_string=D_("Execute ad-hoc commands")) |
223 | 223 |
224 def getHandler(self, profile): | 224 def getHandler(self, profile): |
225 return XEP_0050_handler(self) | 225 return XEP_0050_handler(self) |
226 | 226 |
227 def profileConnected(self, profile): | 227 def profileConnected(self, profile): |