Skip to content

Commit f95d349

Browse files
authored
Change self ignore logs to debug. (#656)
Follow up from 77a14c8, info would have been a bit noisy.
1 parent 6fb22af commit f95d349

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/protections/BasicFlooding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export class BasicFloodingProtection
170170
): Promise<ActionResult<void>> {
171171
// If the sender is draupnir, ignore the message
172172
if (event["sender"] === this.draupnir.clientUserID) {
173-
log.info(`Ignoring message from self: ${event.event_id}`);
173+
log.debug(`Ignoring message from self: ${event.event_id}`);
174174
return Ok(undefined);
175175
}
176176
const forUser = lastEventsForUser(

src/protections/WordList.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export class WordListProtection
140140
): Promise<ActionResult<void>> {
141141
// If the sender is draupnir, ignore the message
142142
if (event["sender"] === this.draupnir.clientUserID) {
143-
log.info(`Ignoring message from self: ${event.event_id}`);
143+
log.debug(`Ignoring message from self: ${event.event_id}`);
144144
return Ok(undefined);
145145
}
146146
const minsBeforeTrusting =

0 commit comments

Comments
 (0)