- Source:
Methods
(static) add(name)
Lets you register new disco features for this client (i.e. instance of Converse)
Parameters:
Name | Type | Description |
---|---|---|
name |
String | e.g. http://jabber.org/protocol/caps |
- Source:
Example
_converse.api.disco.own.features.add("http://jabber.org/protocol/caps");
(static) add(name)
Lets you register new disco features for this client (i.e. instance of Converse)
Parameters:
Name | Type | Description |
---|---|---|
name |
String | e.g. http://jabber.org/protocol/caps |
Example
_converse.api.disco.own.features.add("http://jabber.org/protocol/caps");
(static) clear()
Clears all previously registered features.
- Source:
Example
_converse.api.disco.own.features.clear();
(static) clear()
Clears all previously registered features.
Example
_converse.api.disco.own.features.clear();
(static) get()
Returns all of the features registered for this client (i.e. instance of Converse).
- Source:
Example
const features = api.disco.own.features.get();
(static) get()
Returns all of the features registered for this client (i.e. instance of Converse).
Example
const features = api.disco.own.features.get();