nioc / xmpp-web

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

Channels (i.e. PubSub) #132

Open sjehuda opened 3 weeks ago

sjehuda commented 3 weeks 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 3 weeks ago

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

nioc commented 3 weeks ago

Seems to be a good idea, I'm not very available at the moment but I can give you some input for this feature. I created this branch: https://github.com/nioc/xmpp-web/tree/132-channels-ie-pubsub

sjehuda commented 3 weeks ago

On Mon, 28 Oct 2024 08:41:12 -0700 Nicolas @.***> wrote:

Seems to be a good idea, I'm not very available at the moment but I can give you some input for this feature.

Sure. Please do. Can we communicate over XMPP?