diff src/bridge/bridge_constructor/bridge_template.ini @ 669:ffb716804580

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;
author Goffi <goffi@goffi.org>
date Thu, 07 Nov 2013 15:29:39 +0100
parents 7d6e5807504a
children d731ae066158
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Tue Nov 05 22:41:45 2013 +0100
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Thu Nov 07 15:29:39 2013 +0100
@@ -488,7 +488,7 @@
 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_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