Mercurial > libervia-backend
changeset 2149:a0e6f7951bd7
plugin XEP-0045: fix after client refactoring
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 12 Feb 2017 21:17:56 +0100 (2017-02-12) |
parents | a543eda2c923 |
children | 91347fe95384 |
files | src/plugins/plugin_xep_0045.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0045.py Sun Feb 12 20:43:20 2017 +0100 +++ b/src/plugins/plugin_xep_0045.py Sun Feb 12 21:17:56 2017 +0100 @@ -884,8 +884,8 @@ "extra": extra, "timestamp": time.time(), } - self.host.messageAddToHistory(mess_data, self.parent) - self.host.sendMessageToBridge(mess_data, self.parent) + self.parent.messageAddToHistory(mess_data) + self.parent.messageSendToBridge(mess_data) def userLeftRoom(self, room, user): @@ -923,8 +923,8 @@ "extra": extra, "timestamp": time.time(), } - self.host.messageAddToHistory(mess_data, self.parent) - self.host.sendMessageToBridge(mess_data, self.parent) + self.parent.messageAddToHistory(mess_data) + self.parent.messageSendToBridge(mess_data) def userChangedNick(self, room, user, new_nick): self.host.bridge.mucRoomUserChangedNick(room.roomJID.userhost(), user.nick, new_nick, self.parent.profile)