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

Dont fire user_joined_room when guest hits /events #480

Merged
merged 1 commit into from
Jan 13, 2016

Conversation

erikjohnston
Copy link
Member

Firing the 'user_joined_room' signal everytime a guest hits /events
causes all presence for that room to be returned in the stream. This may
sound helpful, but causes clients to tightloop calling /events.

In general, guest users should get the initial presence from (room)
intial sync and so we don't require presence to sbsequently come down
the event stream.

Firing the 'user_joined_room' signal everytime a guest hits /events
causes all presence for that room to be returned in the stream. This may
sound helpful, but causes clients to tightloop calling /events.

In general, guest users should get the initial presence from (room)
intial sync and so we don't require presence to sbsequently come down
the event stream.
@NegativeMjark
Copy link
Contributor

LGTM. Might be worth pointing out to @illicitonion in case there was a sane reason for calling user_joined_room

@illicitonion
Copy link
Contributor

If all the tests pass, this is fine. I assume there was some reason this was there at the time, but the test coverage is sufficient that you should be fine. Probably.

erikjohnston added a commit that referenced this pull request Jan 13, 2016
Dont fire user_joined_room when guest hits /events
@erikjohnston erikjohnston merged commit 72ba266 into develop Jan 13, 2016
@erikjohnston erikjohnston deleted the erikj/guest_event_tightloop branch February 23, 2016 16:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants