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

PubSub: Check for node subscription of bare JID #608

Merged
merged 1 commit into from Jul 22, 2015

Conversation

weiss
Copy link
Member

@weiss weiss commented Jun 18, 2015

Don't just check whether the full JID is subscribed when a node subscription is required to list or publish items. If the bare JID is subscribed, these requests are now also accepted.

The issue I'm trying to fix here was introduced with commit 967bbe7, which was submitted in order to fix EJAB-701. Before that commit, only bare JID subscriptions worked as expected. After that commit, only full JID subscriptions work as they should (when publishing/listing items). I guess that wasn't the intention.

Don't just check whether the full JID is subscribed when a node
subscription is required to list or publish items.  If the bare JID is
subscribed, these requests are now also accepted.
@cromain cromain self-assigned this Jun 19, 2015
@cromain cromain added this to the ejabberd 15.07 milestone Jun 19, 2015
cromain pushed a commit that referenced this pull request Jul 22, 2015
PubSub: Check for node subscription of bare JID
@cromain cromain merged commit b47a27f into processone:master Jul 22, 2015
@weiss weiss deleted the bare-jid-subscription branch July 22, 2015 13:32
@lock
Copy link

lock bot commented Jun 10, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants