@defer.inlineCallbacks
    def check_joined_room(self, room_id, user_id, current_state=None):
        if current_state:
            member = current_state.get(
                (EventTypes.Member, user_id),
                None
            )
        else:
            member = yield self.state.get_current_state(
                room_id=room_id,
                event_type=EventTypes.Member,
                state_key=user_id
            )

        self._check_joined_room(member, user_id, room_id)
        defer.returnValue(member)
Reader for .zzz files.
dataset/ETHPy150Open matrix-org/synapse/synapse/api/auth.py/Auth.check_joined_room--crossover with--dataset/ETHPy150Open enthought/mayavi/docs/source/mayavi/auto/zzz_reader.py/zzz_reader