-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace MatrixClient.isRoomEncrypted
by MatrixClient.CryptoApi.isEncryptionEnabledInRoom
in RoomView
#28278
Replace MatrixClient.isRoomEncrypted
by MatrixClient.CryptoApi.isEncryptionEnabledInRoom
in RoomView
#28278
Conversation
14f5088
to
11ddcc1
Compare
3e64ea0
to
a61968f
Compare
98b0590
to
5217283
Compare
f965ce1
to
8b42571
Compare
8b42571
to
cce60d4
Compare
…ncryptionEnabledInRoom` in RoomView
cce60d4
to
a9c42bb
Compare
b1b653f
to
476734f
Compare
…e-roomview-isencrypted
a420a48
to
5ce1e47
Compare
640292b
to
8d01c23
Compare
@@ -67,6 +67,9 @@ test.describe("Cryptography", function () { | |||
await page.locator(".mx_AuthPage").getByRole("button", { name: "I'll verify later" }).click(); | |||
await app.viewRoomByName("Test room"); | |||
|
|||
// In this case, the call to cryptoApi.isEncryptionEnabledInRoom is taking a long time to resolve | |||
await page.waitForTimeout(4000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4 seconds? That seems terrifying, given how few rooms this client is in this sounds like a blocker to using the new API? 4 seconds to open a room is awful?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To open a room in a regular case, it's not taking 4 seconds. I tested manually and the other tests are running fine.
This test is going through already multiple issues (waiting 10sec for keys to be backed up) and I assume this is a special case
Checklist
public
/exported
symbols have accurate TSDoc documentation.