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

maybe_auto_subscribe was not passing a conn object into get_channel #89

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

mviamari
Copy link

@mviamari mviamari commented Jan 6, 2011

maybe_auto_subscribe in server.py was not passing in a conn object to the get_channel calls.

In most cases this isn't an issue, except when the autosubscribe channel in question requires a cookie for authorization. Without the conn object, creating the cookie for a potential create_channel rest call was not happening.

the get_channel calls in maybe_auto_subscribe now use the conn argument, if available, otherwise reverting to the current standard of using the user argument.

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.

1 participant