c2f9ad28fc
* feat: Only share history if room history visibility is shared Signed-off-by: Skye Elliot <actuallyori@gmail.com> * docs: Update documentation for `InviteOpts.shareEncryptedHistory` * tests: Ensure shared history respects current history visibility This commit additionally modifies `expectSendRoomEvent` to remove the matcher on success, since fetchmock takes a while to do this automatically. Signed-off-by: Skye Elliot <actuallyori@gmail.com> --------- Signed-off-by: Skye Elliot <actuallyori@gmail.com>