diff options
| author | 2019-12-16 02:11:55 -0300 | |
|---|---|---|
| committer | 2019-12-16 02:11:55 -0300 | |
| commit | 447de16b5c62a6d473abb4bf1c61b34f8d5e0f26 (patch) | |
| tree | 89cb0ebad2d1d0c8ee932cc21dbd27a3386bd242 /CONTRIBUTING.md | |
| parent | Add `post_user` function to POST a new user to the DB (diff) | |
Make post_infraction try to `post_user` if user doesn't exist
Try twice to apply the infraction. If the user is not in the database,
try to add it, then try to apply the infraction again.
This allows any moderation function that uses `FetchedUser` as a
converter to apply the infraction even when the user is absent in the
local database.
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions