fix: FluffyChat should assume m.change_password capabilitiy is supported if not present per spec

This commit is contained in:
krille-chan 2024-03-22 17:51:14 +01:00
parent f653664b39
commit 449357b501
No known key found for this signature in database

View file

@ -53,7 +53,7 @@ class SettingsSecurityView extends StatelessWidget {
style: const TextStyle(color: Colors.orange),
),
),
if (capabilities?.mChangePassword?.enabled == true ||
if (capabilities?.mChangePassword?.enabled != false ||
error != null) ...[
ListTile(
leading: const Icon(Icons.key_outlined),