processone / processone/ejabberd

The roster set requests are not sent after a session is recovered

Open
#2,963 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hello !

Please have a look at this JSXC issue and the discussions : https://github.com/jsxc/jsxc/issues/794

When a session is still opened but not polled by any client, the requests are queued in case we re attach the session.

It works well for the presence requests, when the polling restart, Ejabberd send all the pending presence requests to the client.

Capture d’écran de 2019-07-25 16-30-37

But it seems not to work for the roster requests as described in the JSXC issue.

Thanks in advance !

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 linked JSXC issue and its discussion, then compare how ejabberd handles queued presence requests with queued roster requests when a session is reattached. Done means roster requests are delivered after polling resumes, matching the stated presence-request behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.