- Source:
Methods
(static) add(category, type, name, lang)
Lets you add new identities for this client (i.e. instance of Converse)
Parameters:
Name | Type | Description |
---|---|---|
category |
String | server, client, gateway, directory, etc. |
type |
String | phone, pc, web, etc. |
name |
String | "Converse" |
lang |
String | en, el, de, etc. |
- Source:
Example
_converse.api.disco.own.identities.clear();
(static) add(category, type, name, lang)
Lets you add new identities for this client (i.e. instance of Converse)
Parameters:
Name | Type | Description |
---|---|---|
category |
String | server, client, gateway, directory, etc. |
type |
String | phone, pc, web, etc. |
name |
String | "Converse" |
lang |
String | en, el, de, etc. |
Example
_converse.api.disco.own.identities.clear();
(static) clear()
Clears all previously registered identities.
- Source:
Example
_converse.api.disco.own.identities.clear();
(static) clear()
Clears all previously registered identities.
Example
_converse.api.disco.own.identities.clear();