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

No access to server-side sente/make-channel-socket for uid purposes? #1

Closed
colliderwriter opened this issue Aug 24, 2015 · 3 comments
Closed

Comments

@colliderwriter
Copy link

I'm trying to set up sente's uids for per-session pushes. Per taoensso/sente#118 (comment)
I'm supposed to add parameters to sente/make-channel-socket. I see where that is on the cljs side, but I can't figure out how to get at it on the clj side.

No matter what I try, uid stays nil.

May I ask how you would modify your sample app to get a uid set?

ETA: Modifying line 101 of sente-system/src/clj/example/my_app.clj to read
(debugf "Unhandled event: %s uid: %s session: %s" event uid session)
shows that the session is being set but the uid is nil. I think it should at least be the sente default?

@danielsz
Copy link
Owner

@colliderwriter
Copy link
Author

Thank you but I had already read that. I had missed the separate interface to the channel-sockets in systems.clj.

All is right with (that part of) the world.

@danielsz
Copy link
Owner

danielsz commented Sep 2, 2015

Glad you figured it out.

👍

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