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

Subscription persists even after (manually calling) unsubscribe #32

Closed
ce-manalang opened this issue Mar 14, 2013 · 1 comment
Closed

Comments

@ce-manalang
Copy link

Hi all,

We observed that the only time the member is unsubscribed and removed from a channel is when the browser is closed or the page is reloaded. The app that we're working on is a Single-page Application using Backbone.js so we have to call unsubscribe function manually if we want to unsubscribe. We did but without any luck. The member is still subscribed and the 'member_removed' event was not triggered.

Here's our code snippet

unlisten: function() {
  if (this.active_channel_id != null) {
    this.pusher.unsubscribe(this.active_channel_id);
  }
}

Maybe you guys can help us out in figuring out how unsubscribe function work.

Thanks!

pl added a commit that referenced this issue Mar 19, 2013
@pl
Copy link
Contributor

pl commented Jul 19, 2013

Hi,

Apologies for getting back to you after such a long time, are you still experiencing this issue? I haven't heard any complaints about unsubscribing not working, since this issue has been opened, but I'm happy to help if needed.

@pl pl closed this as completed Sep 27, 2013
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

No branches or pull requests

2 participants