apps/meteor/app/federation/server/hooks/afterCreateDirectRoom.js
Function afterCreateDirectRoom
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function afterCreateDirectRoom(room, extras) {
clientLogger.debug({ msg: 'afterCreateDirectRoom', room, extras });
// If the room is federated, ignore
if (room.federation) {