Subscribe with Response Unsubscribed Causes Roster Push to Responding Client

Description

If user a sends user b a subscribe and user b responds with an unsubscribed, effectively denying the request, the server does a roster push to the responding client when user a was never in user b's roster to begin with. The correct behavior is not to do the roster push.

Steps to reproduce:
1. User A subscribes to User B
2. User B denies Subscription Request
3. User B receives a roster item for User A after sending Unsubscribed presence, and user A is henceforth in user B's roster until User B explicitly removes them.

Environment

None

Activity

Show:

Guus der Kinderen November 15, 2023 at 4:12 PM

I do not think that the issue described here is a bug. It seems acceptable to have an item in each roster, after a rejected subscription attempt. The item in both rosters should have the subscription state ‘None’ with no pending in’s or out’s.

Athanasios Zorbas September 22, 2017 at 11:26 AM

This seems to cause

Guus der Kinderen December 7, 2015 at 3:02 PM

csh October 22, 2015 at 1:48 PM

Last time I checked was with 3.9.1, but I guess this issue is still valid.

Daryl Herzmann October 22, 2015 at 1:44 PM

Anybody watching this ticket able to comment if it is still valid with release 3.10.2 ?

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created January 24, 2007 at 7:39 AM
Updated November 15, 2023 at 4:12 PM
Resolved December 7, 2015 at 3:02 PM