diff src/bridge/bridge_constructor/bridge_template.ini @ 1224:f0c9b149ed99

bridge, memory: add "search" attribute to getHistory (filter the results with a unix globbing pattern)
author souliane <souliane@mailoo.org>
date Sat, 04 Oct 2014 10:25:32 +0200
parents 96fb74a4714d
children f8a8434dbac7
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Sat Oct 04 10:23:13 2014 +0200
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Sat Oct 04 10:25:32 2014 +0200
@@ -483,16 +483,18 @@
 async=
 type=method
 category=core
-sig_in=ssibs
+sig_in=ssibss
 sig_out=a(dssssa{ss})
 param_3_default=True
-param_4_default="@NONE@"
+param_4_default=''
+param_5_default="@NONE@"
 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_param_4=%(doc_profile)s
+doc_param_4=search: pattern to filter the history results
+doc_param_5=%(doc_profile)s
 doc_return=Ordered list (by timestamp) of tuples (timestamp, full from_jid, full to_jid, message, type, extra)
 
 [addContact]