Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Sitestream: Add/remove user on reconnect #179

Closed
bdeneuter opened this issue Dec 20, 2016 · 2 comments
Closed

Sitestream: Add/remove user on reconnect #179

bdeneuter opened this issue Dec 20, 2016 · 2 comments

Comments

@bdeneuter
Copy link

Hi,

With Sitestream you can use a controlstream to add or remove users from the connection.
When the client reconnects it will use the list of users at construction time to setup the connection. All users that were removed or added are not handled correctly:

  • Users that were removed will be added again
  • Users that were added with a control stream are not added after reconnecting

Is this behaviour expected? It seems the client should maintain the correct list of users on the connection and adjust the request parameters correctly?

Kind regards,
Bart

@bobber205
Copy link

Sitestream is basically dead, esp for new users, as far as Twitter is concerned. Going to be removed soon my sources tell me.

Not worth fixing probably :(

@GoSkyLine
Copy link

I believe the behavior is expected, as when the client reconnects, you get a fresh new stream connection, the given users to the constructor are used as default users(at least one user) to keep new stream connection alive until all users are removed from that stream. Therefore, after client connects, you need to add your users, and then you can remove default user(s) if you want to. And you need to do this everytime client establish a new connection.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants