plugins XEP-0033, XEP-0280, text commands: fixed method renaming after client refactoring

This commit is contained in:
Goffi 2017-02-13 20:59:09 +01:00
commit 9608829d3b

View file

@ -290,7 +290,7 @@ class TextCommands(object):
mess_data["type"] = C.MESS_TYPE_INFO
mess_data["message"] = {'': message}
mess_data["extra"]["info_type"] = info_type
self.host.sendMessageToBridge(mess_data, client)
client.messageSendToBridge(mess_data)
def cmd_whois(self, client, mess_data):
"""show informations on entity