changeset 539:428fa16363e7

quick frontend: fixed getHistory call
author Goffi <goffi@goffi.org>
date Mon, 12 Nov 2012 10:55:09 +0100
parents 2c4016921403
children 47e45a577ab7
files frontends/src/quick_frontend/quick_chat.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_chat.py	Sat Nov 10 16:38:16 2012 +0100
+++ b/frontends/src/quick_frontend/quick_chat.py	Mon Nov 12 10:55:09 2012 +0100
@@ -114,7 +114,7 @@
         else:
             target = self.target.short
 
-        self.host.bridge.getHistory(self.host.profiles[profile]['whoami'].short, target, 20, callback=onHistory, errback=onHistoryError)
+        self.host.bridge.getHistory(self.host.profiles[profile]['whoami'].short, target, 20, profile=profile, callback=onHistory, errback=onHistoryError)
 
     def _get_nick(self, jid):
         """Return nick of this jid when possible"""