processone / processone/ejabberd

Implement Pubsub - 8.9.4 Notifying Entities

Open
#4,546 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Kind:Feature
Dominant language
Erlang
Stars
6.7k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

Movim is now more and more relying on affiliations management in Pubsub, especially with the Spaces feature.
When affiliations are changed the affiliated JID is not notified of the change, so I can't update the UI properly.

Pubsub have a MAY that would really help with that:
https://xmpp.org/extensions/xep-0060.html#owner-affiliations-notify

Would it be possible to implement it?

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the XEP-0060 owner-affiliations-notify section linked in the issue and tracing how Pubsub affiliation changes are handled. Done means the affiliated JID receives a notification when its affiliation changes, allowing clients such as Movim to update their UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.