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:
parent
008e449e59
commit
8624c3c547
1 changed files with 30 additions and 21 deletions
|
|
@ -488,7 +488,7 @@ async=
|
|||
type=method
|
||||
category=core
|
||||
sig_in=ssibs
|
||||
sig_out=a(dssss)
|
||||
sig_out=a(dssssa{ss})
|
||||
param_3_default=True
|
||||
param_4_default="@NONE@"
|
||||
doc=Get history of a communication between two entities
|
||||
|
|
@ -497,7 +497,7 @@ doc_param_1=to_jid: dest JID (bare jid for catch all, full jid else)
|
|||
doc_param_2=limit: max number of history elements to get (0 for the whole history)
|
||||
doc_param_3=between: True if we want history between the two jids (in both direction), False if we only want messages from from_jid to to_jid
|
||||
doc_param_4=%(doc_profile)s
|
||||
doc_return=Ordered list (by timestamp) of tuples (timestamp, full from_jid, full to_jid, message, type)
|
||||
doc_return=Ordered list (by timestamp) of tuples (timestamp, full from_jid, full to_jid, message, type, extra)
|
||||
|
||||
[addContact]
|
||||
type=method
|
||||
|
|
|
|||
Loading…
Reference in a new issue