fffdd34ebd
This fixes a small issue encountered while developing the integration test for encrypted state events. If the first sync response received from the server after enabling encryption does not contain the m.room.encryption event, the client will report the encryption state as unknown, even if the next sync response does contain the event. - [x] Modify Room::enable_encryption_inner to spin on the room encryption state, rather than bailing after the first sync response is received. Signed-off-by: Skye Elliot