core: improved roster management + misc:
- updated methods to no use anymore methods deprecated in Wokkel
- use of full jid when it make sense instead of bare jid
- getContacts, updateContact and delContact are now asynchronous
This commit is contained in:
parent
eaa0f83237
commit
6e144c6458
1 changed files with 102 additions and 98 deletions
|
|
@ -255,12 +255,13 @@ doc=Tell if a profile is connected
|
|||
doc_param_0=%(doc_profile_key)s
|
||||
|
||||
[getContacts]
|
||||
async=
|
||||
type=method
|
||||
category=core
|
||||
sig_in=s
|
||||
sig_out=a(sa{ss}as)
|
||||
param_0_default="@DEFAULT@"
|
||||
doc=Return information about all contacts
|
||||
doc=Return information about all contacts (the roster)
|
||||
doc_param_0=%(doc_profile_key)s
|
||||
doc_return=array of tuples with the following values:
|
||||
- JID of the contact
|
||||
|
|
@ -508,6 +509,7 @@ doc_param_0=entity_jid: JID to add to roster
|
|||
doc_param_1=%(doc_profile_key)s
|
||||
|
||||
[updateContact]
|
||||
async=
|
||||
type=method
|
||||
category=core
|
||||
sig_in=ssass
|
||||
|
|
@ -520,6 +522,7 @@ doc_param_2=groups: list of group where the entity is
|
|||
doc_param_3=%(doc_profile_key)s
|
||||
|
||||
[delContact]
|
||||
async=
|
||||
type=method
|
||||
category=core
|
||||
sig_in=ss
|
||||
|
|
|
|||
Loading…
Reference in a new issue