Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Latest commit

 

History

History
24 lines (14 loc) · 415 Bytes

BLACKLIST.md

File metadata and controls

24 lines (14 loc) · 415 Bytes

Sender/Message blacklist

Create collection

db.createCollection("blackListItems")

Blacklisting by message

db.blackListItems.insertOne({type: 'message', pattern: 'cheap advertising', matches: NumberLong(0)})

Blacklisting by sender

db.blackListItems.insertOne({type: 'sender', pattern: 'nastyspammer@jabber.org', matches: NumberLong(0)})