Converse converse.js

Namespace: features

.disco.own.features

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

Source:
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.

Source:
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).

Source:
Example
const features = api.disco.own.features.get();

.disco.own.features

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

Source:
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.

Source:
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).

Source:
Example
const features = api.disco.own.features.get();