You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-09 10:22:46 +03:00
Apply suggestions from SonarQube (#2340)
This commit is contained in:
committed by
GitHub
parent
b86630f0e3
commit
8be30acb11
@@ -300,7 +300,7 @@ export class PushProcessor {
|
||||
|
||||
const memberCount = room.currentState.getJoinedMemberCount();
|
||||
|
||||
const m = cond.is.match(/^([=<>]*)([0-9]*)$/);
|
||||
const m = cond.is.match(/^([=<>]*)(\d*)$/);
|
||||
if (!m) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user