apps/meteor/client/ecdh.ts
Function initEncryptedSession
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function initEncryptedSession(): Promise<void> {
if (!window.ECDH_Enabled) {
Meteor.connection._stream.allowConnection();
return resolveSession();
}