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

@ -147,8 +147,8 @@ class XEP_0280(object):
mess_data = SatMessageProtocol.parseMessage(cc_message_elt, client)
if not mess_data['message'] and not mess_data['subject']:
return False
self.host.messageAddToHistory(mess_data, client)
self.host.sendMessageToBridge(mess_data, client)
client.messageAddToHistory(mess_data)
client.messageSendToBridge(mess_data)
else:
log.warning(u"invalid message carbons received:\n{xml}".format(
xml = message_elt.toXml()))