mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
Fix lint
Signed-off-by: Emi Simpson <emi@alchemi.dev>
This commit is contained in:
parent
c2fbf0934a
commit
1e47be497b
@ -53,7 +53,7 @@ export class WordList implements IProtection {
|
|||||||
const now = new Date();
|
const now = new Date();
|
||||||
this.justJoined[roomId][event['state_key']] = now;
|
this.justJoined[roomId][event['state_key']] = now;
|
||||||
LogService.info("WordList", `${event['state_key']} joined ${roomId} at ${now.toDateString()}`);
|
LogService.info("WordList", `${event['state_key']} joined ${roomId} at ${now.toDateString()}`);
|
||||||
} else if (content['membership'] == 'leave' || content['membership'] == 'ban') {
|
} else if (content['membership'] === 'leave' || content['membership'] === 'ban') {
|
||||||
delete this.justJoined[roomId][event['sender']]
|
delete this.justJoined[roomId][event['sender']]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user