core, bridge: waiting confirmation management (new getWaitingConf method)

This commit is contained in:
Goffi 2012-11-14 20:24:28 +01:00
commit 75bb00a0d4

View file

@ -108,10 +108,10 @@ type=signal
category=core
sig_in=ssa{ss}s
doc=A confirmation is needed for an action
doc_param_0=conf_type: Type of the confirmation, can be:
doc_param_0=id: Id of the confirmation query
doc_param_1=conf_type: Type of the confirmation, can be:
- YES/NO: A question which need a yes or no answer
- FILE_TRANSFER: A confirmation is needed before transfering a file
doc_param_1=id: Id of the confirmation query
doc_param_2=data: conf_type dependent data
doc_param_3=%(doc_profile)s
@ -331,6 +331,16 @@ doc=Get subscription requests in queue
doc_param_0=%(doc_profile_key)s
doc_return=Dict where contact JID is the key, and value is the subscription type
[getWaitingConf]
type=method
category=core
sig_in=s
sig_out=a(ssa{ss})
doc=Get confirmations requests in queue
doc_param_0=%(doc_profile_key)s
doc_return=List of confirmation request data, same as for [askConfirmation]
[sendMessage]
type=method
category=core