comparison frontends/src/primitivus/primitivus @ 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 886754295efe
children 0bb595eff25b
comparison
equal deleted inserted replaced
512:862c0d6ab974 513:8ee9113d307b
301 profile_key=self.profile) 301 profile_key=self.profile)
302 except: 302 except:
303 self.notify(_("Error while sending message")) 303 self.notify(_("Error while sending message"))
304 editBar.set_edit_text('') 304 editBar.set_edit_text('')
305 305
306 def newMessage(self, from_jid, to_jid, msg, _type, profile): 306 def newMessage(self, from_jid, to_jid, msg, _type, extra, profile):
307 QuickApp.newMessage(self, from_jid, to_jid, msg, _type, profile) 307 QuickApp.newMessage(self, from_jid, to_jid, msg, _type, extra, profile)
308 308
309 if not from_jid in self.contact_list and from_jid.short != self.profiles[profile]['whoami'].short: 309 if not from_jid in self.contact_list and from_jid.short != self.profiles[profile]['whoami'].short:
310 #XXX: needed to show entities which haven't sent any 310 #XXX: needed to show entities which haven't sent any
311 # presence information and which are not in roster 311 # presence information and which are not in roster
312 #TODO: put these entities in a "not in roster" list 312 #TODO: put these entities in a "not in roster" list