mirror of https://github.com/zulip/zulip.git
Don't log tabbott/extra test messages.
(imported from commit 8e1adecca14e5440298fd93b41e1a43da37c807f)
This commit is contained in:
parent
6f4b0de057
commit
386b48e80f
|
@ -418,7 +418,8 @@ def log_event(event):
|
|||
fcntl.flock(lock, fcntl.LOCK_UN)
|
||||
|
||||
def log_message(message):
|
||||
log_event(message.to_log_dict())
|
||||
if not message.sending_client.name.startswith("test:"):
|
||||
log_event(message.to_log_dict())
|
||||
|
||||
def do_send_message(message, no_log=False):
|
||||
message.save()
|
||||
|
|
Loading…
Reference in New Issue