djabberd / DJabberd

The main DJabberd source
89 stars 35 forks source link

Caps features rosterver #44

Closed rufferson closed 4 years ago

rufferson commented 4 years ago

and Forms (as needed by caps). so far inside Caps.pm, will be moved off to standalone file in further commits.

As described in commit messages it introduces new class for Feature, Identity, Form, implements Caps class which can serialize Features/Identities/Forms and calculate digest for XEP-0115. Feature hook is reworked to be repeatable (auto-reset) to collect features/identities/caps from whoever wants to join the party (eg rosterver). Roster management is updated to support rosterver feature however it needs rosterver-aware storage plugin to support that.

Closes #8