core, bridge: extra parameter is saved in history:

- added extra data in getHistory return value
    - extra data is saved in database
    /!\ WARNING: DATABASE SCHEMA HAS CHANGED /!\
to update sqlite database: ALTER TABLE history ADD COLUMN extra BLOB;
This commit is contained in:
Goffi 2013-11-07 15:29:39 +01:00
commit 8624c3c547

View file

@ -98,7 +98,7 @@ class QuickChat(object):
debug (_("now we print history"))
def onHistory(history):
for line in history:
timestamp, from_jid, to_jid, message, _type = line
timestamp, from_jid, to_jid, message, _type, extra = line
if ((self.type == 'group' and _type != 'groupchat') or
(self.type == 'one2one' and _type == 'groupchat')):
continue