core: added sessionGetInfos bridge method to retrieve various data on current profile session + client.started keep start time
This commit is contained in:
parent
fb0aaf2cae
commit
50194cde01
1 changed files with 40 additions and 2 deletions
|
|
@ -716,3 +716,15 @@ sig_out=b
|
|||
doc=Load parameters template from xml file
|
||||
doc_param_0=filename: input filename
|
||||
doc_return=boolean (True in case of success)
|
||||
|
||||
[sessionInfosGet]
|
||||
async=
|
||||
type=method
|
||||
category=core
|
||||
sig_in=s
|
||||
sig_out=a{ss}
|
||||
doc=Get various informations on current profile session
|
||||
doc_param_0=%(doc_profile_key)s
|
||||
doc_return=session informations, with at least the following keys:
|
||||
jid: current full jid
|
||||
started: date of creation of the session (Epoch time)
|
||||
|
|
|
|||
Loading…
Reference in a new issue