core: added getLastResource method

This commit is contained in:
Goffi 2011-10-06 21:16:03 +02:00
commit 5380b684cd

View file

@ -257,6 +257,17 @@ doc_return=array of tuples with the following values:
- list of attributes as in [newContact]
- groups where the contact is
[getLastResource]
type=method
category=core
sig_in=ss
sig_out=s
param_1_default="@DEFAULT@"
doc=Return the last resource connected for a contact
doc_param_0=contact_jid: jid of the contact
doc_param_1=%(doc_profile_key)s
doc_return=the last resource connected of the contact, or ""
[getPresenceStatus]
type=method
category=core