comparison 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
comparison
equal deleted inserted replaced
447:485a6d125498 448:17c7e48bf68f
436 [getHistory] 436 [getHistory]
437 async= 437 async=
438 type=method 438 type=method
439 category=core 439 category=core
440 sig_in=ssib 440 sig_in=ssib
441 sig_out=a{i(sss)} 441 sig_out=a(dsss)
442 param_3_default=True 442 param_3_default=True
443 doc=Get history of a communication between two entities 443 doc=Get history of a communication between two entities
444 doc_param_0=from_jid: source JID (bare jid for catch all, full jid else) 444 doc_param_0=from_jid: source JID (bare jid for catch all, full jid else)
445 doc_param_1=to_jid: dest JID (bare jid for catch all, full jid else) 445 doc_param_1=to_jid: dest JID (bare jid for catch all, full jid else)
446 doc_param_2=limit: max number of history elements to get (0 for the whole history) 446 doc_param_2=limit: max number of history elements to get (0 for the whole history)
447 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 447 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
448 doc_return=Dict where key is timestamp (seconds this the Epoch), and value is a tuple (full from_jid, full to_jid, message) 448 doc_return=Ordered list (by timestamp) of tuples (timestamp, full from_jid, full to_jid, message)
449 449
450 [addContact] 450 [addContact]
451 type=method 451 type=method
452 category=core 452 category=core
453 sig_in=ss 453 sig_in=ss