This issue has been migrated from #1413.
Submitted by @richvdh:matrix.org
If a user joins a room, then immediately leaves it, so that /sync returns both events in the same batch - should /sync return the complete state for that room (as it does normally when joining a room)?
(Imported from https://matrix.org/jira/browse/SYN-514)