# Functions
ApplyHistoryVisibilityFilter applies the room history visibility filter on types.HeaderedEvents.
DeviceListCatchup fills in the given response for the given user ID to bring it up-to-date with device lists.
DeviceOTKCounts adds one-time key counts to the /sync response.
TrackChangedUsers calculates the values of device_lists.changed|left in the /sync response.