core, quick_frontend, primitivus, wixi, bridge: fixed delayed message timestamp:
- new "extra" parameter in newMessage signal
This commit is contained in:
parent
fef2b1a620
commit
65103362a6
1 changed files with 39 additions and 28 deletions
|
|
@ -124,7 +124,7 @@ class QuickChat():
|
|||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue