diff src/bridge/bridge_constructor/bridge_template.ini @ 448:17c7e48bf68f

core: - history management improved - better timestamp precision for history bridge + core: history signature change (now return a list instead of a dict, and timestamp is now float) quick_frontend: - use of new history API - removed deprecated keep_last argument in getHistory (was only used by Sortilège)
author Goffi <goffi@goffi.org>
date Sun, 04 Dec 2011 16:18:56 +0100
parents e4e9187e3b5b
children b9925a2758c3
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Sun Dec 04 00:58:20 2011 +0100
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Sun Dec 04 16:18:56 2011 +0100
@@ -438,14 +438,14 @@
 type=method
 category=core
 sig_in=ssib
-sig_out=a{i(sss)}
+sig_out=a(dsss)
 param_3_default=True
 doc=Get history of a communication between two entities
 doc_param_0=from_jid: source JID (bare jid for catch all, full jid else)
 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_return=Dict where key is timestamp (seconds this the Epoch), and value is a tuple (full from_jid, full to_jid, message)
+doc_return=Ordered list (by timestamp) of tuples (timestamp, full from_jid, full to_jid, message)
 
 [addContact]
 type=method