Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 730 Bytes

README.md

File metadata and controls

28 lines (15 loc) · 730 Bytes

strophe.caps.js

Plugin for strophe.js to provide XMPP Entity Capabilities (XEP-0115).

Usage

Adding features

connection.caps.add( "myfeature" );

Removing features

connection.caps.remove( "myfeature" );

Sending presence

conncection.caps.pres( attrs );

See strophe.disco.js for more info.

Authors

Legacy

An older version of this plugin is included in this package /strophe.CAPS.js, build from CoffeScript. This is no longer maintained and will likely be removed in the future.