chore: Update SDK
This commit is contained in:
parent
3785c97ada
commit
21d7f862dd
7 changed files with 34 additions and 30 deletions
|
|
@ -177,9 +177,9 @@ class LoginController extends State<Login> {
|
|||
final clientSecret = DateTime.now().millisecondsSinceEpoch.toString();
|
||||
final response = await showFutureLoadingDialog(
|
||||
context: context,
|
||||
future: () => Matrix.of(context).client.requestEmailToken(
|
||||
input.single,
|
||||
future: () => Matrix.of(context).client.requestTokenToResetPasswordEmail(
|
||||
clientSecret,
|
||||
input.single,
|
||||
sendAttempt++,
|
||||
),
|
||||
);
|
||||
|
|
|
|||
|
|
@ -33,9 +33,9 @@ class Settings3PidController extends State<Settings3Pid> {
|
|||
final clientSecret = DateTime.now().millisecondsSinceEpoch.toString();
|
||||
final response = await showFutureLoadingDialog(
|
||||
context: context,
|
||||
future: () => Matrix.of(context).client.requestEmailToken(
|
||||
input.single,
|
||||
future: () => Matrix.of(context).client.requestTokenToRegisterEmail(
|
||||
clientSecret,
|
||||
input.single,
|
||||
Settings3Pid.sendAttempt++,
|
||||
),
|
||||
);
|
||||
|
|
|
|||
|
|
@ -168,9 +168,9 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
|
|||
final clientSecret =
|
||||
Matrix.of(context).client.generateUniqueTransactionId();
|
||||
final currentThreepidCreds =
|
||||
await Matrix.of(context).client.requestEmailToken(
|
||||
emailInput.single,
|
||||
await Matrix.of(context).client.requestTokenToRegisterEmail(
|
||||
clientSecret,
|
||||
emailInput.single,
|
||||
0,
|
||||
);
|
||||
final auth = AuthenticationThreePidCreds(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue