Mercurial > libervia-backend
diff frontends/src/quick_frontend/quick_chat.py @ 513:8ee9113d307b
core, quick_frontend, primitivus, wixi, bridge: fixed delayed message timestamp:
- new "extra" parameter in newMessage signal
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 20 Oct 2012 17:23:56 +0200 |
parents | 862c0d6ab974 |
children | 3bd8f84f920d |
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_chat.py Wed Oct 17 00:35:48 2012 +0200 +++ b/frontends/src/quick_frontend/quick_chat.py Sat Oct 20 17:23:56 2012 +0200 @@ -124,7 +124,7 @@ return unescaped.resource return jid.resource if self.type == "group" else (self.host.contact_list.getCache(jid,'nick') or self.host.contact_list.getCache(jid,'name') or jid.node) - def printMessage(self, from_jid, msg, profile, timestamp): + def printMessage(self, from_jid, msg, profile, timestamp = ''): """Print message in chat window. Must be implemented by child class""" jid=JID(from_jid) nick = self._get_nick(jid)