don't log email in use error
This commit is contained in:
parent
5067e9a922
commit
cd86f697e0
1 changed files with 5 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ import 'package:fluffychat/utils/platform_infos.dart';
|
|||
import 'package:fluffychat/widgets/matrix.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_gen/gen_l10n/l10n.dart';
|
||||
import 'package:matrix/matrix_api_lite/model/matrix_exception.dart';
|
||||
|
||||
class SignupPage extends StatefulWidget {
|
||||
const SignupPage({super.key});
|
||||
|
|
@ -137,6 +138,10 @@ class SignupPageController extends State<SignupPage> {
|
|||
displayname,
|
||||
);
|
||||
}
|
||||
} on MatrixException catch (e) {
|
||||
if (e.error != MatrixError.M_THREEPID_IN_USE) {
|
||||
rethrow;
|
||||
}
|
||||
} catch (e, s) {
|
||||
//#Pangea
|
||||
const cancelledString = "Exception: Request has been canceled";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue