primitivus: fixed info messages timestamp

This commit is contained in:
Goffi 2012-10-28 17:59:24 +01:00
commit 9351b96cdb

View file

@ -130,7 +130,7 @@ class QuickChat():
nick = self._get_nick(jid)
mymess = (jid.resource == self.nick) if self.type == "group" else (jid.short == self.host.profiles[profile]['whoami'].short) #mymess = True if message comes from local user
if msg.startswith('/me '):
self.printInfo('* %s %s' % (nick, msg[4:]),type='me')
self.printInfo('* %s %s' % (nick, msg[4:]),type='me', timestamp=timestamp)
return
return jid, nick, mymess