Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRiot silently fails with uncaught error when trying to verify other users. #12951
Comments
Member
ara4n
commented
Mar 31, 2020
•
|
prolly entangled with #12950 Verify button just silently fails. |
|
this happens on both develop (FF) and Nightly atm. I'm trying to verify my arasphere account from the MemberInfo in a (non-e2e) DM on my matrix.org acct. |
|
This looks to be failing because:
|
|
The fact that legacyVerifyUser fails looks to just be legacy verification not having kept up with the latest API changes. I think something like this should fix it (untested): diff --git a/src/verification.js b/src/verification.js
index 223134647..6a9874969 100644
--- a/src/verification.js
+++ b/src/verification.js
@@ -99,7 +99,9 @@ export async function legacyVerifyUser(user) {
return;
}
const cli = MatrixClientPeg.get();
- const verificationRequestPromise = cli.beginKeyVerification(user.userId);
+ const verificationRequestPromise = cli.beginKeyVerification(
+ verificationMethods.SAS, user.userId, undefined,
+ );
dis.dispatch({
action: "set_right_panel_phase",
phase: RIGHT_PANEL_PHASES.EncryptionPanel, |
|
The fact that the XSKs have gone missing might be because arasphere was running a somewhat old synapse when that account set up XSK (Synapse/1.11.0)? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

