plugins XEP-0033, XEP-0280, text commands: fixed method renaming after client refactoring
This commit is contained in:
parent
3e795fde5c
commit
9608829d3b
1 changed files with 5 additions and 5 deletions
|
|
@ -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()))
|
||||
|
|
|
|||
Loading…
Reference in a new issue