Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peers that DENY a subscription request disappear from roster #465

Closed
juniorz opened this Issue Nov 3, 2017 · 5 comments

Comments

Projects
None yet
2 participants
@juniorz
Copy link
Member

juniorz commented Nov 3, 2017

The output generated by the roster's Dump info menu item shows peers that are not displayed on the roster:

->   Peer{coyim_is_better@jabber.cryptoparty.is[ ()], subscription='none', status=''('') online=false, asked=false, pendingSubscribe='', belongsTo='1509733031568853371', resources=map[], lastResource=''}
->   Peer{i_hate_this@jabber.cryptoparty.is[ ()], subscription='none', status=''('') online=false, asked=false, pendingSubscribe='', belongsTo='1509733031568853371', resources=map[], lastResource=''}

They are peers I have requested to subscribe but have not received an answer. I cant see them, and I cant resend a subscription request (maybe trying to add them again?)

@juniorz juniorz added the ux label Nov 3, 2017

@olabini

This comment has been minimized.

Copy link
Contributor

olabini commented Nov 3, 2017

That's strange. I can see them, while waiting for them to show up. Are you sure you haven't turned of the setting for displaying them?

@juniorz

This comment has been minimized.

Copy link
Member Author

juniorz commented Nov 3, 2017

Note their subscription='none', pendingSubscribe='' and asked=false, so isNominallyVisible() is false.

@juniorz

This comment has been minimized.

Copy link
Member Author

juniorz commented Nov 3, 2017

But yes, the option is set. They appear on pidgin with a line "Not Authorized" below them.

@juniorz

This comment has been minimized.

Copy link
Member Author

juniorz commented Nov 8, 2017

Reading RFC 3921 [1], this issue seems to be described by section "8.2.1. Alternate Flow: Contact Declines Subscription Request". That is, the contact has denied my request.

1 - https://xmpp.org/rfcs/rfc3921.html

@juniorz juniorz changed the title Peers that do not respond to subscription request disappear from roster Peers that DENY a subscription request disappear from roster Nov 8, 2017

@juniorz

This comment has been minimized.

Copy link
Member Author

juniorz commented Nov 8, 2017

The bug stands renamed: it is weird that there is a line with name@server.com (waiting for approval) that disappears when they denies the request.

@olabini olabini self-assigned this Aug 20, 2018

@olabini olabini closed this in 29e3c26 Aug 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.