core: added sessionGetInfos bridge method to retrieve various data on current profile session + client.started keep start time

This commit is contained in:
Goffi 2017-01-05 22:22:13 +01:00
commit 50194cde01

View file

@ -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)