diff browser_side/panels.py @ 137:b145da69a218

server + browser side: new api fix
author Goffi <goffi@goffi.org>
date Mon, 22 Oct 2012 00:08:41 +0200
parents ceef355156de
children b6658f3ac8a0
line wrap: on
line diff
--- a/browser_side/panels.py	Thu Aug 02 01:10:04 2012 +0200
+++ b/browser_side/panels.py	Mon Oct 22 00:08:41 2012 +0200
@@ -735,7 +735,7 @@
         """Print the initial history"""
         def getHistoryCB(history):
             for line in history:
-                timestamp, from_jid, to_jid, message = line
+                timestamp, from_jid, to_jid, message, mess_type = line
                 self.printMessage(from_jid, message, timestamp)
         self.host.bridge.call('getHistory', getHistoryCB, self.host.whoami.bare, self.target.bare, size, True)