comparison src/plugins/plugin_misc_text_commands.py @ 2152:6a004a22dd9e

plugins XEP-0033, XEP-0280, text commands: fixed method renaming after client refactoring
author Goffi <goffi@goffi.org>
date Mon, 13 Feb 2017 20:59:09 +0100
parents 33c8c4973743
children 8b37a62336c3
comparison
equal deleted inserted replaced
2151:fff88c33442f 2152:6a004a22dd9e
288 mess_data["from"] = mess_data["to"] 288 mess_data["from"] = mess_data["to"]
289 mess_data["to"] = to_ 289 mess_data["to"] = to_
290 mess_data["type"] = C.MESS_TYPE_INFO 290 mess_data["type"] = C.MESS_TYPE_INFO
291 mess_data["message"] = {'': message} 291 mess_data["message"] = {'': message}
292 mess_data["extra"]["info_type"] = info_type 292 mess_data["extra"]["info_type"] = info_type
293 self.host.sendMessageToBridge(mess_data, client) 293 client.messageSendToBridge(mess_data)
294 294
295 def cmd_whois(self, client, mess_data): 295 def cmd_whois(self, client, mess_data):
296 """show informations on entity 296 """show informations on entity
297 297
298 @command: [JID|ROOM_NICK] 298 @command: [JID|ROOM_NICK]