fix: FluffyChat should assume m.change_password capabilitiy is supported if not present per spec
This commit is contained in:
parent
f653664b39
commit
449357b501
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ class SettingsSecurityView extends StatelessWidget {
|
||||||
style: const TextStyle(color: Colors.orange),
|
style: const TextStyle(color: Colors.orange),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (capabilities?.mChangePassword?.enabled == true ||
|
if (capabilities?.mChangePassword?.enabled != false ||
|
||||||
error != null) ...[
|
error != null) ...[
|
||||||
ListTile(
|
ListTile(
|
||||||
leading: const Icon(Icons.key_outlined),
|
leading: const Icon(Icons.key_outlined),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue