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

Bug fix: empty topic string passed to (un)subscribed signals #100

Merged
merged 1 commit into from
Jul 4, 2017

Conversation

ejvr
Copy link
Contributor

@ejvr ejvr commented Jul 4, 2017

This fixes issue #98.

Due to changes in commit 83ad60d
the subscribed and unsubscribed signals in the Client class
would be emitted with an empty topic string.

This is due to the fact that the (UN)SUBACK message does not
contain the topic.

This commit binds the topic to the message id when the (UN)SUBSCRIBE
message is sent, and recovers the topic again when the acknowledgement
is received.
@mwallnoefer mwallnoefer self-requested a review July 4, 2017 18:57
@mwallnoefer mwallnoefer merged commit 06bdbf4 into emqx:master Jul 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants