quick frontend: fixed getHistory call

This commit is contained in:
Goffi 2012-11-12 10:55:09 +01:00
commit e8b636a848

View file

@ -114,7 +114,7 @@ class QuickChat():
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"""