RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/ecdh.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function initEncryptedSession has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function initEncryptedSession(): Promise<void> {
    if (!window.ECDH_Enabled) {
        Meteor.connection._stream.allowConnection();
        return resolveSession();
    }
Severity: Minor
Found in apps/meteor/client/ecdh.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status