mirror of https://github.com/zulip/zulip.git
9602aa1467
This makes it so that RealmAuditLog entries are created when a user mutes/unmutes someone. We don't really need to store the time, but we do so anyways, because the `event_time` field is currently a non-nullable one in the `RealmAuditLog` model, and making it nullable would risk allowing not specifying the time in other more important code which also creates `RealmAuditLog` entries. This also fixes an incorrect test of successfully unmuting with the API. Earlier it did not mock the time in the `views/muting.py` code to return `mute_time`. |
||
---|---|---|
.. | ||
data_import | ||
lib | ||
management | ||
migrations | ||
openapi | ||
templatetags | ||
tests | ||
tornado | ||
views | ||
webhooks | ||
worker | ||
__init__.py | ||
apps.py | ||
context_processors.py | ||
decorator.py | ||
filters.py | ||
forms.py | ||
logging_handlers.py | ||
middleware.py | ||
models.py | ||
signals.py |