element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.17k stars 1.99k forks source link

Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in FilePanel #28275

Open florianduros opened 1 week ago

florianduros commented 1 week ago

Checklist

Task https://github.com/element-hq/element-web/issues/26922 Replace MatrixClient.isRoomEncrypted by MatrixClient.CryptoApi.isEncryptionEnabledInRoom in FilePanel. The new function is async.

florianduros commented 1 week ago

Putting back to draft, I have to add extra tests. Since I have to take time for this component, I will refactor the component into a functional component