nioc / xmpp-web

Lightweight web chat client for XMPP server
GNU Affero General Public License v3.0
140 stars 20 forks source link

Channels (i.e. PubSub) #132

Open sjehuda opened 9 hours ago

sjehuda commented 9 hours ago

Intended behavior

XMPP Web could have support for channels.

A channel may be described as a publicly read-only group, which only authorized accounts can post to it, and which its items are permanent.

Permanent means, until an item is manually deleted by an authorized account or when a node item has reached to its maximum allowed number of items and consequently remove the most early item in favour of the newly and most recent item (FIFO).

Solution

Add support by utilizing XEP-0060.

See also Atom Over XMPP, XEP-0277 and XEP-0472.

A PubSub plugin for xmpp.js is available at https://github.com/Crypho/xmpp-plugins/tree/master/packages/pubsub

Alternatives

No response

Priority

Must-have

Users scope

registered users

Affected features

contacts list

Pull request

yes

sjehuda commented 9 hours ago

I would be glad for guidance, if I would help in adding this feature.