def METHOD_NAME(self, reactor: MemoryReactor, clock: Clock) -> HomeServer:
    config = self.default_config()
    config["enable_ephemeral_messages"] = True
    self.hs = self.setup_test_homeserver(config=config)
    return self.hs